generated from TidalPaladin/python-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
72 lines (61 loc) · 1.18 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
[build-system]
requires = ["pdm-pep517>=1.0"]
build-backend = "pdm.pep517.api"
[project]
name = "git-ssh-wrapper"
description = ""
requires-python = ">=3.7"
authors = [
{name = "Scott Chase Waggener", email = "tidalpaladin@protonmail.com"},
]
dependencies = [
"pyyaml",
]
readme = "README.md"
license = {text = "Apache"}
dynamic = ["version"]
[project.optional-dependencies]
[tool.autoflake]
remove-all-unused-imports = true
remove-unused-variables = true
[tool.autopep8]
max_line_length = 120
ignore = "E501,W6,E203"
in-place = true
recursive = true
aggressive = 3
[tool.black]
line-length = 120
target-version = ['py37']
[tool.isort]
ensure_newline_before_comments = true
force_grid_wrap = 0
include_trailing_comma = true
line_length = 119
lines_after_imports = 2
multi_line_output = 3
use_parentheses = false
[tool.pyright]
[tool.pdm]
version = { source = "scm" }
[tool.pdm.dev-dependencies]
test = [
"pytest",
"pytest-mock",
"pytest-cov",
"coverage",
]
quality = [
"autoflake",
"autopep8",
"black",
"flake8",
"isort",
]
[tool.pytest.ini_options]
markers = [
"ci_skip"
]
# Sample script config
[project.scripts]
wrapped-ssh = "git_ssh_wrapper.__main__:entrypoint"