-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
62 lines (49 loc) · 1.41 KB
/
pyproject.toml
File metadata and controls
62 lines (49 loc) · 1.41 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
[project]
name = "testjump"
version = "0.1.6"
description = "A CLI tool that helps you quickly navigate to test functions in pytest files."
readme = "README.md"
requires-python = ">=3.12"
dependencies = []
[project.urls]
Homepage = "https://github.com/greatbahram/testjump"
Changelog = "https://github.com/greatbahram/testjump/releases"
Issues = "https://github.com/greatbahram/testjump/issues"
CI = "https://github.com/greatbahram/testjump/actions"
[project.optional-dependencies]
dev = ["pre-commit>=4.2.0", "pytest>=8.3.5", "ruff>=0.11.2"]
[project.scripts]
testjump = "testjump:main"
tj = "testjump:main"
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[tool.ruff]
line-length = 88
exclude = [".git", ".ruff_cache", ".venv"]
target-version = "py313"
[tool.ruff.lint]
select = [
"ANN", # flake8-annotations
"C4", # flake8-comprehensions
"E", # pycodestyle error
"F", # Pyflakes
"I", # isort
"INP", # flake8-no-pep420
"PGH", # pygrep-hooks
"PIE", # flake8-pie
"PLC", # Pylint convention
"PLE", # Pylint error
"PLR", # Pylint refactor
"PLW", # Pylint warning
"PYI", # flake8-pyi
"SIM", # flake8-simplify
"UP", # pyupgrade
"W", # pycodestyle warning
]
[tool.ruff.lint.extend-per-file-ignores]
"__init__.py" = ["F401"]
"test_*.py" = ["ANN", "PLR0904", "PLR0913", "PLR0917"]
"**/conftest.py" = ["ANN"]
[tool.ruff.lint.isort]
known-first-party = ["testjump"]