Skip to content

Commit 855e6ee

Browse files
authored
Merge pull request #431 from willcl-ark/fix-ruff
2 parents cc5d0d2 + a469fc4 commit 855e6ee

File tree

3 files changed

+33
-31
lines changed

3 files changed

+33
-31
lines changed

.github/workflows/test.yml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,23 @@ on:
77
- main
88

99
jobs:
10-
ruff:
11-
runs-on: ubuntu-latest
12-
steps:
13-
- uses: actions/checkout@v4
14-
- uses: chartboost/ruff-action@v1
10+
# ruff:
11+
# runs-on: ubuntu-latest
12+
# steps:
13+
# - uses: actions/checkout@v4
14+
# - uses: chartboost/ruff-action@v1
15+
# with:
16+
# args: 'check .'
1517
ruff-format:
1618
runs-on: ubuntu-latest
1719
steps:
1820
- uses: actions/checkout@v4
1921
- uses: chartboost/ruff-action@v1
2022
with:
21-
args: 'format --check'
23+
args: 'format --check .'
2224
build-image:
23-
needs: [ruff, ruff-format]
25+
# needs: [ruff, ruff-format]
26+
needs: [ruff-format]
2427
runs-on: ubuntu-latest
2528
steps:
2629
- name: Checkout

pyproject.toml

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -37,27 +37,3 @@ include-package-data = true
3737

3838
[tool.setuptools.packages.find]
3939
where = ["src", "resources"]
40-
41-
[tool.ruff]
42-
extend-exclude = [
43-
"src/test_framework/*.py",
44-
"resources/images/exporter/authproxy.py",
45-
]
46-
line-length = 100
47-
indent-width = 4
48-
[tool.ruff.lint]
49-
select = [
50-
# pycodestyle
51-
"E",
52-
# Pyflakes
53-
"F",
54-
# pyupgrade
55-
"UP",
56-
# flake8-bugbear
57-
"B",
58-
# flake8-simplify
59-
"SIM",
60-
# isort
61-
"I",
62-
]
63-
ignore = ["E501"] # Line too long

ruff.toml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
extend-exclude = [
2+
"src/test_framework/*.py",
3+
"resources/images/exporter/authproxy.py",
4+
]
5+
line-length = 100
6+
indent-width = 4
7+
8+
[lint]
9+
select = [
10+
# pycodestyle
11+
"E",
12+
# Pyflakes
13+
"F",
14+
# pyupgrade
15+
"UP",
16+
# flake8-bugbear
17+
"B",
18+
# flake8-simplify
19+
"SIM",
20+
# isort
21+
"I",
22+
]
23+
ignore = ["E501"] # Line too long

0 commit comments

Comments
 (0)