-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
76 lines (64 loc) · 1.55 KB
/
pyproject.toml
File metadata and controls
76 lines (64 loc) · 1.55 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
75
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[project]
name = "pyconlang"
description = "Python utility for conlanging"
readme = "README.md"
requires-python = ">=3.11"
keywords = ["conlang", "conlanging"]
license = { text = "BSD 3-Clause License" }
dependencies = [
"Markdown==3.6",
"mdx-include==1.4.2",
"pymdown-extensions==10.3",
"prompt-toolkit==3.0.39",
"watchdog==2.3.1",
"click==8.1.7",
"toml==0.10.2",
"unidecode==1.3.6",
"wcwidth==0.2.6",
"dataclasses-json==0.6.0",
"pyrsercomb@git+https://github.com/neta-elad/pyrsercomb",
]
dynamic = ["version"]
[project.optional-dependencies]
test = [
"mypy==1.5.1",
"types-Markdown==3.4.2.10",
"types-toml==0.10.8.7",
"black==23.9.1",
"isort==5.12.0",
"autoflake==2.2.1",
"pytest==7.4.2",
"pytest-cov==4.1.0",
"vulture==2.9.1",
"pytest-xdist==3.3.1",
]
[project.scripts]
pyconlang = "pyconlang.cli:run"
[tool.setuptools.packages.find]
include = ["pyconlang*"]
[tool.setuptools.dynamic]
version = { attr = "pyconlang.__version__" }
[tool.setuptools.package-data]
pyconlang = ["assets/**/*"]
[tool.mypy]
mypy_path = "stubs"
disallow_untyped_calls = true
disallow_untyped_defs = true
[tool.black]
extend-exclude = ".venv"
[tool.isort]
profile = "black"
src_paths = ["pyconlang", "tests"]
skip = [".venv"]
[tool.autoflake]
recursive = true
exclude = [".venv"]
remove_unused_variables = true
remove_all_unused_imports = true
expand_star_imports = true
in_place = true
[tool.pytest.ini_options]
addopts = "-q"