File tree 1 file changed +16
-3
lines changed
1 file changed +16
-3
lines changed Original file line number Diff line number Diff line change @@ -38,18 +38,19 @@ legacy_tox_ini = """
38
38
envlist =
39
39
py{312,313}-dj{51,dev},
40
40
lint
41
+ pre-commit
41
42
42
43
isolated_build = true
43
44
44
45
[gh-actions]
45
46
python =
46
- 3.12: py312
47
- 3.13: py313, lint
47
+ 3.12: py312, lint, pre-commit
48
+ 3.13: py313
48
49
49
50
[gh-actions:env]
50
51
DJANGO =
51
52
5.1: dj51
52
- dev: djdev, lint
53
+ dev: djdev, lint, pre-commit
53
54
54
55
[testenv]
55
56
deps =
@@ -70,7 +71,19 @@ commands =
70
71
[testenv:lint]
71
72
deps = -r https://raw.githubusercontent.com/clinicedc/edc/develop/requirements.tests/lint.txt
72
73
commands =
74
+ python --version
75
+ pip --version
76
+ pip freeze
73
77
isort --profile=black --check --diff .
74
78
black --check --diff .
75
79
flake8 .
80
+
81
+ [testenv:pre-commit]
82
+ deps = pre-commit
83
+ commands =
84
+ python --version
85
+ pip --version
86
+ pip freeze
87
+ pre-commit autoupdate
88
+ pre-commit run --all-files
76
89
"""
You can’t perform that action at this time.
0 commit comments