-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
57 lines (50 loc) · 1.21 KB
/
pyproject.toml
File metadata and controls
57 lines (50 loc) · 1.21 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
[build-system]
requires = ["setuptools", "setuptools-scm"]
build-backend = "setuptools.build_meta"
[project]
name = "create-python-cmd"
description = "Cross platform(ish) productivity commands written in python."
requires-python = ">=3.8"
readme = "README.md"
keywords = ["create python cmd"]
license = { text = "BSD 3-Clause License" }
classifiers = ["Programming Language :: Python :: 3"]
dependencies = [
"ruff",
"pyright",
"black",
"pytest",
"pytest-xdist",
"pytest-timeout",
"pytest-cov",
]
# Change this with the version number bump.
# Also make the change in zcmds/version.py
version = "2.0.2"
[project.scripts]
createpythoncmd = "create_python_cmd.cli:main"
create-python-cmd = "create_python_cmd.cli:main"
[tool.ruff]
line-length = 88
target-version = "py38"
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"UP", # pyupgrade
]
ignore = [
"E501", # line too long (handled by black)
]
[tool.pyright]
include = ["src", "tests"]
pythonVersion = "3.8"
typeCheckingMode = "basic"
reportMissingImports = true
[tool.pytest.ini_options]
markers = [
"unit: Unit tests",
"integration: Integration tests",
]