Skip to content

Commit 46179ca

Browse files
committed
fine_python_lint v0.2.0
1 parent cffb1fb commit 46179ca

File tree

2 files changed

+14
-18
lines changed

2 files changed

+14
-18
lines changed

presets/fine_python_lint/fine_python_lint/preset.toml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,18 @@
22
source = "finecode_extension_api.actions.lint.LintAction"
33
handlers = [
44
{ name = "flake8", source = "fine_python_flake8.Flake8LintHandler", env = "dev_no_runtime", dependencies = [
5-
"fine_python_flake8==0.1.0",
5+
"fine_python_flake8==0.2.*",
66
"flake8-bugbear (>=24.12.12,<25.0.0)",
77
] },
88
{ name = "mypy", source = "fine_python_mypy.MypyLintHandler", env = "dev_no_runtime", dependencies = [
9-
"fine_python_mypy==0.1.0",
9+
"fine_python_mypy==0.2.*",
1010
] },
1111
]
1212

13-
[tool.finecode.action_handler.flake8.config]
14-
max_line_length = 80
15-
extend_select = ["B950"]
13+
[[tool.finecode.action_handler]]
14+
source = "fine_python_flake8.Flake8LintHandler"
15+
config.max_line_length = 80
16+
config.extend_select = ["B950"]
1617
# W391 is not compatible with black, because black adds an empty line to the end of the file
1718
# TODO: move in recommended config once config merging is implemented
18-
extend_ignore = ["E203", "E501", "E701", "W391"]
19+
config.extend_ignore = ["E203", "E501", "E701", "W391"]
Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,15 @@
11
[project]
22
name = "fine-python-lint"
3-
version = "0.1.0"
3+
version = "0.2.0"
44
description = ""
55
authors = [{ name = "Vladyslav Hnatiuk", email = "aders1234@gmail.com" }]
66
readme = "README.md"
77
requires-python = ">=3.11, < 3.14"
8-
dependencies = [
9-
"fine_python_mypy==0.1.0",
10-
"fine_python_flake8==0.1.0",
11-
"flake8-bugbear (>=24.12.12,<25.0.0)",
12-
]
13-
14-
[tool.poetry.group.dev.dependencies]
15-
finecode = { version = "0.2.0" }
16-
finecode_dev_common_preset = { path = "../../finecode_dev_common_preset", develop = true }
8+
dependencies = ["finecode_extension_api==0.3.*"]
179

1810
[build-system]
19-
requires = ["poetry-core>=2.0.0,<3.0.0"]
20-
build-backend = "poetry.core.masonry.api"
11+
requires = ["setuptools>=64"]
12+
build-backend = "setuptools.build_meta"
13+
14+
[tool.setuptools.package-data]
15+
fine_python_lint = ["preset.toml"]

0 commit comments

Comments
 (0)