forked from krother/space
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
50 lines (42 loc) · 1.17 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["space_game"]
[project]
name = "pandas_go_to_space"
version = "1.1.0"
authors = [
{ name="Kristian Rother", email="[email protected]" },
]
description = "a space-traveling adventure game"
readme = "README.md"
requires-python = ">=3.10"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
[project.urls]
Homepage = "https://github.com/krother/space"
Issues = "https://github.com/krother/space/issues"
[tool.pytest.ini_options]
addopts = "-v --tb=short"
testpaths = ["space_game", "tests"]
flake8-max-line-length = 120
flake8-ignore = ["E203", "E266", "E501", "W503"]
flake8-max-complexity = 18
[tool.black]
line-length = 120
skip-string-normalization = true
skip-numeric-underscore-normalization = true
exclude = "/(\\.git|build|dist)/"
[tool.isort]
src_paths = ["space_game", "tests"]
lines_after_imports = 2
[tool.coverage.run]
branch = true
source = ["space_game"]
omit = ["*/__init__.py"]
[tool.coverage.report]
exclude_lines = ["raise NotImplementedError"]