Skip to content

Commit

Permalink
improve nbqa settings
Browse files Browse the repository at this point in the history
  • Loading branch information
zigaLuksic committed Jun 20, 2022
1 parent 1c71247 commit 2995426
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci_action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
- name: Check code compliance with flake8
run: |
flake8 .
nbqa flake8 . --ignore=E402
nbqa flake8 .
check-code-pylint-and-mypy:
runs-on: ubuntu-latest
Expand Down
5 changes: 5 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -64,3 +64,8 @@ disallow_untyped_defs = true
disallow_untyped_decorators = true
warn_unreachable = true
strict_equality = true

[tool.nbqa.addopts]
flake8 = [
"--extend-ignore=E402"
]

0 comments on commit 2995426

Please sign in to comment.