Skip to content

Commit

Permalink
chore: Remove migrations exclusion from pre-commit config
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmckinney committed Sep 10, 2024
1 parent 9644bb6 commit ca76494
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 0 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,3 @@ repos:
name: pip-compile requirements_dev.in
args: [requirements_dev.in, -o, requirements_dev.txt]
files: ^requirements(_dev)?\.(in|txt)$
exclude: /migrations/
4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ target-version = "py311"
[tool.ruff.lint]
select = ["E", "C4", "F", "I", "W"]

[tool.ruff.lint.per-file-ignores]
"*/management/commands/*" = ["INP001"] # no __init__.py file
"*/migrations/*" = ["E501"]

[tool.coverage.run]
omit = ["*/migrations/*"]

Expand Down

0 comments on commit ca76494

Please sign in to comment.