-
-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #596 from pradyunsg/lint-and-format
Add linting and auto-formatting via pre-commit
- Loading branch information
Showing
21 changed files
with
1,032 additions
and
865 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
35235fd609a52db835beb2a96d0da461a0eab3ed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
repos: | ||
- repo: https://github.com/psf/black | ||
rev: 23.9.1 | ||
hooks: | ||
- id: black | ||
|
||
- repo: https://github.com/PyCQA/isort | ||
rev: 5.12.0 | ||
hooks: | ||
- id: isort | ||
files: \.py$ | ||
|
||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.5.0 | ||
hooks: | ||
- id: check-builtin-literals | ||
- id: check-added-large-files | ||
- id: check-case-conflict | ||
- id: check-toml | ||
- id: check-yaml | ||
- id: debug-statements | ||
- id: end-of-file-fixer | ||
- id: forbid-new-submodules | ||
- id: trailing-whitespace |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,30 +46,30 @@ Heroku admins can do it too. | |
#. Install Heroku CLI | ||
|
||
Details at: https://devcenter.heroku.com/articles/heroku-cli | ||
|
||
#. Login to Heroku CLI on the command line and follow instructions:: | ||
|
||
heroku login | ||
|
||
|
||
#. If you haven't already, get a clone of the bedevere repo:: | ||
|
||
git clone [email protected]:python/bedevere.git | ||
|
||
Or, using `GitHub CLI`_:: | ||
gh repo clone python/bedevere | ||
|
||
gh repo clone python/bedevere | ||
|
||
#. From the ``bedevere`` directory, add the ``bedevere`` Heroku app as remote branch:: | ||
|
||
heroku git:remote -a bedevere | ||
|
||
|
||
#. From the ``bedevere`` directory, push to Heroku:: | ||
|
||
git push heroku main | ||
|
||
|
||
After a successful push, the deployment will begin. | ||
|
||
Heroku app collaborators and members | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.