-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
72 lines (63 loc) · 1.34 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
[tool.poetry]
name = "flake8-ruff"
version = "0.3.0"
description = "A Flake8 plugin that implements miscellaneous checks from Ruff."
license = "MIT"
authors = ["Tom Kuson <[email protected]>"]
readme = "README.md"
repository = "https://github.com/tjkuson/flake8-ruff"
keywords = [
"flake8",
"ruff",
]
classifiers = [
"Development Status :: 4 - Beta",
"Framework :: Flake8",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Typing :: Typed",
]
packages = [
{ include = "flake8_ruff", from = "src" },
]
[tool.poetry.dependencies]
python = ">=3.9"
[tool.poetry.group.dev.dependencies]
ruff = "^0.2.1"
pytest = "^8.0.0"
mypy = "*"
[tool.mypy]
mypy_path = "src/"
strict = true
[tool.ruff]
preview = true
[tool.ruff.lint]
extend-select = [
"I",
"UP",
"B",
"A",
"C4",
"PIE",
"PYI",
"SIM",
"TCH",
"PGH",
"PL",
"PERF",
"FURB",
"RUF",
]
ignore = [
"PLR0916", # A high number of Boolean expressions are kind of unavoidable here.
]
[tool.ruff.lint.isort]
required-imports = ["from __future__ import annotations"]
[tool.ruff.lint.flake8-type-checking]
strict = true
[tool.poetry.plugins."flake8.extension"]
RUF = "flake8_ruff:Plugin"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"