Skip to content

Commit

Permalink
update lint action to follow black-flake8 interaction recommendation
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaszgajewski committed Aug 20, 2024
1 parent 65df8ef commit 273013e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/lint_action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,4 @@ jobs:
black_auto_fix: true
flake8: true
flake8_auto_fix: false
flake8_args: "--extend-ignore=E203 --max-line-length=88"
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def count_line(f, line):
- Camel case with spaces for jupyter notebook: Analyze Brain Data.ipynb
* Delete dead code! Don't outcomment code you don't use anymore, but delete it instead. If you need to find it again, that's what we have git for.
* Use Jupyter Notebooks only for explanations and visualization. The actual programming should be happening in `.py` files.
* This repository is automatically set up with Github Actions/[Lint Action](https://github.com/marketplace/actions/lint-action) that will format your code using black and check for problems with flake8 ([without E203, W503](https://black.readthedocs.io/en/stable/faq.html#why-are-flake8-s-e203-and-w503-violated)). If either of them fails, you will not be able to merge your files unless you fix it. If this creates problem you cannot solve contact: florian@allfed.info
* This repository is automatically set up with Github Actions/[Lint Action](https://github.com/marketplace/actions/lint-action) that will format your code using black and check for problems with flake8 ([without E203](https://github.com/psf/black/blob/06ccb88bf2bd35a4dc5d591bb296b5b299d07323/docs/guides/using_black_with_other_tools.md#flake8)). If either of them fails, you will not be able to merge your files unless you fix it. If this creates problem you cannot solve contact: florian@allfed.info
* You can deactivate the branch protection that makes sure that only correct and styled code can be merged, but it is not recommended.


Expand Down

0 comments on commit 273013e

Please sign in to comment.