Skip to content

Commit 47bce2d

Browse files
committed
Do not lint django migrations
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
1 parent 209231f commit 47bce2d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pyproject.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ include = [
6666
"docs/**/*.py",
6767
"*.py",
6868
"."
69+
6970
]
7071
# ignore test data and testfiles: they should never be linted nor formatted
7172
exclude = [
@@ -78,9 +79,10 @@ exclude = [
7879
# vulnerablecode, fetchcode
7980
"**/tests/*/test_data/**/*",
8081
"**/tests/test_data/**/*",
82+
# django migrations
83+
"**/migrations/**/*"
8184
]
8285

83-
8486
[tool.ruff.lint]
8587
# Rules: https://docs.astral.sh/ruff/rules/
8688
select = [

0 commit comments

Comments
 (0)