Skip to content

Commit ba73b0e

Browse files
committed
run ruff on CI/CD
update ruff configs to be it similar with previously used flake8
1 parent e2db047 commit ba73b0e

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/test-build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ jobs:
6262
python -m pip install setuptools==80.1.0
6363
poetry install --without=docs --with=dev
6464
65-
- name: Run flake8
66-
run: poetry run flake8 .
65+
- name: Run ruff
66+
run: poetry run ruff check .
6767

6868
- name: Run unit tests
6969
run: |

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -876,7 +876,7 @@ combine_as_imports = true
876876
skip = ["mfr.egg-info", ".venv"]
877877

878878
[tool.ruff]
879-
line-length = 88
879+
line-length = 100
880880
extend-select = [
881881
"E",
882882
"F",
@@ -885,7 +885,7 @@ extend-select = [
885885
"B",
886886
]
887887
extend-ignore = [
888-
"E203",
888+
"E203", "E501", "E265", "E301", "E302", "F403", "E731"
889889
]
890890
exclude = [
891891
"mfr.egg-info",

0 commit comments

Comments
 (0)