Skip to content

Commit

Permalink
Configure flake8 to exclude pycache, venv, dist, ...
Browse files Browse the repository at this point in the history
  • Loading branch information
mattgruter committed Nov 5, 2023
1 parent 5eff7e3 commit 8776e5a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 20 deletions.
8 changes: 8 additions & 0 deletions .flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[flake8]
max-line-length = 88
exclude =
.git,
.venv,
__pycache__,
.pytest_cache,
dist
17 changes: 1 addition & 16 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 0 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ black = "^23.9.1"
pylint = "^3.0.1"
flake8 = "^6.1.0"
ipykernel = "^6.25.2"
pyproject-flake8 = "^6.1.0"
bandit = "^1.7.5"
safety = "^2.3.5"

Expand All @@ -36,9 +35,6 @@ build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 88

[tool.flake8]
max-line-length = 88

[tool.isort]
profile = "black"
skip_gitignore = true
Expand Down

0 comments on commit 8776e5a

Please sign in to comment.