-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
66 lines (57 loc) · 1.44 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
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "gitramble"
dynamic = ["version"]
description = 'Command-line utility to view a git log and checkout commits.'
requires-python = ">=3.8"
readme = "README.md"
license = {file = "LICENSE.txt"}
keywords = [ "git", "tui" ]
authors = [
{ name = "Bill Melvin", email = "[email protected]" },
]
dependencies = [ "textual" ]
[project.scripts]
gitramble = "gitramble.cli:cli"
[tool.setuptools.dynamic]
version = {attr = "gitramble.__about__.__version__"}
[tool.setuptools.packages.find]
where = ["src"]
include = ["gitramble*"]
namespaces = false
[tool.setuptools.package-data]
gitramble = ["*.tcss"]
[tool.pytest.ini_options]
pythonpath = ["src"]
[tool.ruff]
line-length = 88
indent-width = 4
[tool.ruff.lint]
select = [
"A", # flake8-builtins
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"E", # pycodestyle errors
"F", # Pyfakes
"FA", # flake8-future-annotations
"I", # isort
"ISC", # flake8-implicit-str-concat
"N", # pep8-naming
"PERF", # Perflint
"PL", # Pylint
"PTH", # flake8-use-pathlib
"PYI", # flake8-pyi
"RET", # flake8-return
"S", # flake8-bandit
"SIM", # flake8-simplify
"W" # Warning
]
ignore = ["ISC001"]
# extend-select = ["ALL"]
[tool.ruff.lint.per-file-ignores]
"**/test_*.py" = [
"S101", # assert
"PLR2004", # magic number
]