-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
74 lines (62 loc) · 1.89 KB
/
pyproject.toml
File metadata and controls
74 lines (62 loc) · 1.89 KB
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
[tool.poetry]
name = "ruff-quickfix"
version = "0.2.1"
description = "Wrapper for the `ruff` command for (neo)vim's quickfix"
authors = ["Neal Joslin <neal@joslin.io>"]
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 = [
"COM812", # missing trailing comma
"D203", # missing blank line before class
"D205", # missing blank line after summary
"D212", # summary must be placed on first physical line
"D400", # requires summary to end with a period
"D406", # sections shouldn't have colons, etc.
"D407", # dashed lines under sections
"D413", # last section needs a new line prepended
"D415", # requires summary to end with a period
"FIX002", # no `TODO` comments
"ISC001", # single line string concatenation
"S101", # no assers (yet used in pytest)
"TD003", # require issue for all `TODO` comments
"UP037", # no quoted type annotations with __future__
]
[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