Skip to content

Commit 26a062f

Browse files
authored
Merge pull request #6 from syslabcom/ale/fix-linting
Fix linting
2 parents afb81af + 697cc11 commit 26a062f

1 file changed

Lines changed: 10 additions & 42 deletions

File tree

pyproject.toml

Lines changed: 10 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ classifiers = [
3131
dependencies = [
3232
"Products.CMFPlone",
3333
"plone.api",
34-
3534
"z3c.jbot",
3635
]
3736

@@ -60,15 +59,16 @@ Tracker = "https://github.com/collective/experimental.doodle/issues"
6059
[project.entry-points."z3c.autoinclude.plugin"]
6160
target = "plone"
6261

63-
[tool.uv]
64-
managed = false
65-
66-
[tool.hatch.version]
67-
path = "src/experimental/doodle/__init__.py"
68-
69-
[build-system]
70-
requires = ["hatchling"]
71-
build-backend = "hatchling.build"
62+
# ...existing code...
63+
[tool.ruff]
64+
exclude = [
65+
".git",
66+
".tox",
67+
"venv",
68+
"build",
69+
"dist",
70+
"docs",
71+
]
7272

7373
[tool.hatch.build]
7474
strict-naming = true
@@ -120,38 +120,6 @@ directory = "tests"
120120
name = "Tests"
121121
showcontent = true
122122

123-
[tool.ruff]
124-
target-version = "py310"
125-
line-length = 88
126-
fix = true
127-
lint.select = [
128-
# flake8-2020
129-
"YTT",
130-
# flake8-bandit
131-
"S",
132-
# flake8-bugbear
133-
"B",
134-
# flake8-builtins
135-
"A",
136-
# flake8-comprehensions
137-
"C4",
138-
# flake8-debugger
139-
"T10",
140-
# flake8-simplify
141-
"SIM",
142-
# mccabe
143-
"C90",
144-
# pycodestyle
145-
"E", "W",
146-
# pyflakes
147-
"F",
148-
# pygrep-hooks
149-
"PGH",
150-
# pyupgrade
151-
"UP",
152-
# ruff
153-
"RUF",
154-
]
155123
lint.ignore = [
156124
# DoNotAssignLambda
157125
"E731",

0 commit comments

Comments
 (0)