-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
75 lines (63 loc) · 1.39 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
73
74
75
[tool.poetry]
name = "ruff-quickfix"
version = "0.2.0"
description = "Wrapper for the `ruff` command for (neo)vim's quickfix"
authors = ["Neal Joslin <[email protected]>"]
readme = "README.md"
license = "LICENSE"
repository = "https://github.com/Nealium/ruff-quickfix"
keywords = ["ruff", "cli", "vim", "neovim", "nvim", "quickfix"]
packages = [
{ include = "ruff_quickfix", from = "src" },
]
[tool.poetry.scripts]
ruff-quickfix = "ruff_quickfix:cli"
[tool.poetry.dependencies]
python = "^3.8"
click = "^8.1.7"
ruff = { version = "^0.6.1", optional = true }
[tool.poetry.extras]
ruff = ["ruff"]
[tool.poetry.group.dev.dependencies]
pre-commit = { version = "^3.8.0", python = "^3.9" }
[tool.poetry.group.test.dependencies]
mypy = "^1.11.1"
pytest = "^8.3.2"
pytest-click = "^1.1.0"
pytest-cov = "^5.0.0"
tox = "^4.18.0"
pytest-mock = "^3.14.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
line-length = 80
[tool.ruff.lint]
select = ["ALL"]
ignore = [
"ANN101",
"COM812",
"D203",
"D205",
"D212",
"D400",
"D406",
"D407",
"D413",
"D415",
"FIX002",
"ISC001",
"S101",
"TD003",
"UP037",
]
[ruff.lint.flake8-quotes]
docstring-quotes = "double"
inline-quotes = "double"
[ruff.format]
quote-style = "double"
[tool.pytest.ini_options]
pythonpath = ["src"]
testpaths = "tests"
[tool.coverage.run]
branch = true