-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
73 lines (67 loc) · 1.3 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
[tool.poetry]
name = "aoc"
version = "0.1.0"
description = "Advent of Code is an Advent calendar of small programming puzzles."
authors = ["Rodolfo Puig <rodolfo@puig.io>"]
license = "MIT"
packages = [
{ include = "aoc", from = "src" }
]
include = [
{ path = "tests", format = "sdist" }
]
[tool.poetry.dependencies]
python = "^3.8"
[tool.poetry.dev-dependencies]
pytest = "^6.1.2"
pyyaml = "^5.3.1"
black = "^20.8b1"
coverage = "^5.3"
flake8 = "^3.8.4"
flake8-isort = "^4.0.0"
isort = "^5.6.4"
pytest-cov = "^2.10.1"
pytest-mock = "^3.3.1"
xdoctest = "^0.15.0"
pre-commit = "^2.9.3"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
log_cli = true
log_cli_level = "DEBUG"
log_format = "%(levelname)s: %(message)s"
minversion = 6.0
addopts = "--strict-markers -ra"
xfail_strict = true
testpaths = [
"tests",
]
[tool.isort]
profile = "black"
py_version = 38
force_single_line = true
combine_as_imports = true
lines_between_types = 1
lines_after_imports = 2
src_paths = ["src", "tests"]
known_first_party = ["pysteamcmd"]
[tool.black]
line-length = 120
target-version = ['py38']
include = '\.pyi?$'
exclude = '''
/(
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.pytest_cache
| \.tox
| \.venv
| __pycache__
| _build
| build
| dist
)/
'''