Skip to content

Commit

Permalink
Add black to dev requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
Bachibouzouk committed May 15, 2024
1 parent 8d92828 commit e589e60
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ To contribute changes:

pre-commit install

This will mainly make sure you can't commit if your code is not linted with black.
The pre-commit hook will check if your code is linted and if it is not it will simply lint it for you, you then only need to stage the changes made by the linter and commit again, as simple as that :)

### Pull requests

Expand Down
1 change: 1 addition & 0 deletions dev_requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
pre-commit
black==24.4.2
-e .

0 comments on commit e589e60

Please sign in to comment.