Skip to content

Commit 9c97a67

Browse files
authored
Fix editorconfig check for files that don't contain python code (#1226)
1 parent 8dd6acf commit 9c97a67

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.editorconfig-checker.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
{
2-
"Exclude": ["pytest_django/fixtures.py"],
2+
"Exclude": [
3+
"pytest_django/fixtures.py",
4+
".tox/*",
5+
".ruff_cache/*",
6+
"pytest_django.egg-info/*"
7+
],
38
"Disable": {
49
"MaxLineLength": true
510
}

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ commands =
4848
ruff check --diff {posargs:pytest_django pytest_django_test tests}
4949
ruff format --quiet --diff {posargs:pytest_django pytest_django_test tests}
5050
mypy {posargs:pytest_django pytest_django_test tests}
51-
ec {posargs:pytest_django pytest_django_test tests}
51+
ec .
5252
python -c "import subprocess, sys; sys.exit(subprocess.call('zizmor --persona=pedantic --format sarif .github/workflows/deploy.yml .github/workflows/main.yml > zizmor.sarif', shell=True))"
5353

5454
[testenv:doc8]

0 commit comments

Comments
 (0)