Skip to content

Commit cf109ac

Browse files
chore: remove flake from linting
1 parent 2c4bc2b commit cf109ac

File tree

3 files changed

+7
-10
lines changed

3 files changed

+7
-10
lines changed

.github/workflows/lint.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,9 @@ jobs:
3939
- name: Install Dependencies
4040
run: poetry install
4141

42-
# ✅ Install Linters without modifying `pyproject.toml`
4342
- name: Install Linters
4443
run: |
45-
poetry run pip install flake8 ruff
46-
47-
- name: Run Flake8 Linter
48-
run: poetry run flake8 .
44+
poetry run pip install ruff
4945
5046
- name: Run Ruff Linter
5147
run: poetry run ruff check .

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Release
33
on:
44
push:
55
tags:
6-
- "v*.*.*" # ✅ Trigger only on new version tags
6+
- "v*.*.*"
77

88
permissions:
99
contents: write

pyproject.toml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,22 +25,23 @@ requires = ["poetry-core"]
2525
build-backend = "poetry.core.masonry.api"
2626

2727
[tool.flake8]
28-
max-line-length = 88
28+
max-line-length = 120
2929
extend-ignore = ["E203", "W503","E501"]
3030
exclude = ["__init__.py"]
3131
[tool.poetry.scripts]
3232
structura = "structura_py.cli:structura"
3333
[tool.isort]
3434
profile = "black"
3535
multi_line_output = 3
36-
line_length = 88
36+
line_length = 120
3737
default_section = "THIRDPARTY"
3838
known_first_party = []
3939
known_third_party = ["inquirer", "pydantic", "rich", "setuptools", "typer", "yaml"]
4040
[tool.ruff]
41-
line-length = 88
41+
line-length = 200
4242
target-version = "py311"
43-
select = ["E", "F", "W"]
43+
lint.select = ["E", "F", "W"]
44+
lint.extend-ignore = ["F403"]
4445
[tool.mypy]
4546
strict = true
4647
ignore_missing_imports = true

0 commit comments

Comments
 (0)