File tree Expand file tree Collapse file tree 5 files changed +31
-1
lines changed Expand file tree Collapse file tree 5 files changed +31
-1
lines changed Original file line number Diff line number Diff line change
1
+ ls venv & > /dev/null || python3 -mvenv venv || exit 1
2
+ source venv/bin/activate || exit 1
3
+ pip install -r requirements.txt || exit 1
4
+ pre-commit install
Original file line number Diff line number Diff line change @@ -136,7 +136,6 @@ celerybeat.pid
136
136
137
137
# Environments
138
138
.env
139
- .envrc
140
139
.venv
141
140
env /
142
141
venv /
Original file line number Diff line number Diff line change
1
+ repos :
2
+ - repo : https://github.com/charliermarsh/ruff-pre-commit
3
+ rev : ' v0.12.10'
4
+ hooks :
5
+ - id : ruff
6
+ args : ['--fix']
7
+
8
+ - repo : https://github.com/hhatto/autopep8
9
+ rev : ' v2.3.2'
10
+ hooks :
11
+ - id : autopep8
12
+
13
+ - repo : https://github.com/pre-commit/mirrors-mypy
14
+ rev : ' v1.17.1'
15
+ hooks :
16
+ - id : mypy
17
+ args : ['--strict']
18
+ additional_dependencies :
19
+ - types-setuptools
20
+ - typing_extensions
Original file line number Diff line number Diff line change @@ -19,3 +19,9 @@ license-files = ["LICEN[CS]E*"]
19
19
[project .urls ]
20
20
Homepage = " https://github.com/sipgate/sipgate-e2e-test-utils"
21
21
Issues = " https://github.com/sipgate/sipgate-e2e-test-utils/issues"
22
+
23
+ [tool .autopep8 ]
24
+ max_line_length = 200
25
+
26
+ [tool .ruff ]
27
+ line-length = 200
Original file line number Diff line number Diff line change
1
+ pre-commit
You can’t perform that action at this time.
0 commit comments