-
-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathpyproject.toml
56 lines (48 loc) · 1.24 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
[tool.poetry]
name = "advent-readme-stars"
version = "0.1.0"
description = ""
authors = ["Kevin Duff <[email protected]>"]
[tool.poetry.dependencies]
python = "^3.8"
requests = "^2.26.0"
# Pins
platformdirs = "^2.4.0"
[tool.poetry.dev-dependencies]
pytest = "^6.2.5"
pytest-cov = "^3.0.0"
black = "^22.3.0"
isort = "^5.10.1"
flake8 = "^4.0.1"
mypy = "^0.910"
poethepoet = "^0.11.0"
responses = "^0.16.0"
types-requests = "^2.26.1"
[tool.isort]
profile = "black"
multi_line_output = 3
[tool.poe.tasks]
autoformat.sequence = [
{cmd = "black src tests"},
{cmd = "isort src tests"},
]
lint.sequence = [
{cmd = "black --check -v src tests"},
{cmd = "isort --check -v src tests"},
{cmd = "flake8 src tests"},
{cmd = "mypy --pretty src tests"},
]
[tool.poe.tasks.test]
cmd = "pytest -vv --cov=advent_readme_stars --cov-report term --cov-report xml"
[tool.poe.tasks.test.env]
INPUT_USERID = "1511815"
INPUT_LEADERBOARDID = "9995999"
INPUT_SESSIONCOOKIE = "998877665544332211"
INPUT_TABLEMARKER = "<!--- advent_readme_stars table --->"
INPUT_STARSYMBOL = "⭐"
INPUT_YEAR = "2019"
INPUT_HEADERPREFIX = "##"
ADVENT_URL = "http://fake.site.k2bd.dev"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"