-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
52 lines (43 loc) · 1.25 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
[tool.poetry]
name = "pdm-publish"
version = "0.2.1"
description = "A PDM plugin to publish to PyPI"
authors = ["Branch Vincent <branchevincent@gmail.com>"]
readme = "README.md"
repository = "https://github.com/branchvincent/pdm-publish"
packages = [{ include = "pdm_publish", from = "src" }]
[tool.poetry.dependencies]
python = "^3.7"
twine = "^3"
pdm = "^1"
[tool.poetry.dev-dependencies]
black = "^21.6b0"
flake8 = "^3.9.2"
isort = "^5.9.2"
mypy = "^0.910"
pre-commit = "^2.13.0"
pyproject-flake8 = "^0.0.1-alpha.2"
pytest = "^6.2.4"
taskipy = "^1.8.1"
pytest-mock = "^3.6.1"
[tool.poetry.plugins.pdm]
publish = "pdm_publish.__init__:main"
[tool.taskipy.tasks]
clean = { cmd = "rm -rf .mypy_cache/ .pytest_cache/ build/ dist/ *.egg-info", help = "Remove build artifacts" }
lint = { cmd = "pre-commit run --all-files", help = "Run linters and formatters" }
test = { cmd = "pytest", help = "Run tests" }
[tool.flake8]
max-line-length = 88
extend-ignore = "E203"
[tool.isort]
profile = "black"
[tool.mypy]
strict = true
ignore_missing_imports = true
disallow_untyped_decorators = false
[tool.pytest.ini_options]
testpaths = ["tests"]
filterwarnings = ["ignore::DeprecationWarning"]
[build-system]
requires = ["poetry-core>=1.0"]
build-backend = "poetry.core.masonry.api"