Skip to content

Commit

Permalink
MNT exclude .hatch folder from black, isort, flake8 (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
lorentzenchr authored Jan 3, 2023
1 parent 9fdf72c commit 62256fc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,12 @@ dynamic = ["version"]
[tool.black]
line-length = 88
target-version = ["py39"]
extend-exclude = ".hatch/*"

[tool.isort]
known_first_party = ["model_diagnostics"]
profile = "black"
skip = ".hatch"

[tool.mypy]
# disallow_untyped_defs = false
Expand Down Expand Up @@ -131,7 +133,7 @@ dependencies = [
typing = "mypy --install-types --non-interactive {args:src/model_diagnostics}"
security = "bandit --quiet --recursive --skip B101,B102,B105,B110,B112,B301,B307,B324,B403,B404,B603,B604,B606,B607 {args:.}"
style = [
"flake8 {args:.}",
"flake8 --exclude .hatch {args:.}",
"black --check --diff {args:.}",
"isort --check-only --diff {args:.}",
]
Expand Down

0 comments on commit 62256fc

Please sign in to comment.