File tree 3 files changed +118
-93
lines changed
3 files changed +118
-93
lines changed Original file line number Diff line number Diff line change
1
+ name : Lint Python Code
2
+
3
+ on :
4
+ pull_request :
5
+ branches :
6
+ - main
7
+ push :
8
+ branches :
9
+ - main
10
+ workflow_dispatch :
11
+
12
+
13
+ jobs :
14
+ lint : # The name of the job
15
+ runs-on : ubuntu-latest
16
+ steps :
17
+ - uses : actions/checkout@v4
18
+ - uses : actions/setup-python@v5
19
+ with :
20
+ python-version : " 3.13"
21
+ cache : " pip"
22
+ - name : Install dependencies
23
+ run : |
24
+ python -m pip install --upgrade pip
25
+ python -m pip install ruff
26
+
27
+ - name : Run Ruff
28
+ run : ruff check --output-format=github
Original file line number Diff line number Diff line change @@ -10,16 +10,16 @@ packages = [
10
10
11
11
[tool .poetry .dependencies ]
12
12
python = " ^3.9 || ^3.10 || ^3.11 || ^3.12 || ^3.13"
13
- coverage = " ^6.4.1"
14
13
15
14
[tool .poetry .dev-dependencies ]
16
15
tox = " ^3.25"
17
16
flake8 = " ^5.0.4"
18
- coverage = " ^6.2"
19
17
pytest = " ^7.0"
20
18
pytest-cov = " ^3.0"
21
19
watchdog = " ^2.1.7"
22
20
ruff = " ^0.8.3"
21
+ coverage = " ^6.4.1"
22
+ setuptools = " ^75.6.0"
23
23
24
24
[build-system ]
25
25
requires = [" poetry_core>=1.0.0" ]
You can’t perform that action at this time.
0 commit comments