-
Notifications
You must be signed in to change notification settings - Fork 18
/
pyproject.toml
74 lines (64 loc) · 1.77 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
[project]
name = "konch"
version = "5.0.0"
description = "CLI and configuration utility for the Python shell, optimized for simplicity and productivity."
readme = "README.rst"
license = { file = "LICENSE" }
maintainers = [{ name = "Steven Loria", email = "sloria1@gmail.com" }]
classifiers = [
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: System :: Shells",
]
requires-python = ">=3.9"
[project.scripts]
konch = "konch:main"
[project.urls]
Changelog = "https://konch.readthedocs.io/en/latest/changelog.html"
Issues = "https://github.com/sloria/konch/issues"
Source = "https://github.com/sloria/konch/"
[project.optional-dependencies]
dev = ["konch[tests]", "ptpython", "tox"]
docs = ["sphinx==8.1.3", "sphinx-issues==5.0.0"]
tests = ["pytest", "scripttest==1.3", "ipython", "bpython"]
[build-system]
requires = ["flit_core<4"]
build-backend = "flit_core.buildapi"
[tool.flit.sdist]
include = [
"docs/",
"tests/",
"CHANGELOG.rst",
"CONTRIBUTING.rst",
"NOTICE",
"tox.ini",
]
exclude = ["docs/_build/", "tests/test-output"]
[tool.ruff]
src = ["src"]
fix = true
show-fixes = true
output-format = "full"
[tool.ruff.format]
docstring-code-format = true
[tool.ruff.lint]
ignore = ["E203", "E266", "E501", "E731"]
select = [
"B", # flake8-bugbear
"E", # pycodestyle error
"F", # pyflakes
"I", # isort
"UP", # pyupgrade
"W", # pycodestyle warning
]
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["E721"]
[tool.mypy]
ignore_missing_imports = true