-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
59 lines (51 loc) · 1.45 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
[tool.poetry]
name = "pipconf"
version = "2.0.1"
description = "Python's PIP configuration manager"
authors = [ "João Paulo Carvalho <[email protected]>" ]
repository = "https://github.com/jjpaulo2/pipconf"
documentation = "https://jjpaulo2.github.io/pipconf/"
license = "BSD-2-Clause"
readme = "readme.md"
packages = [{ include = "pipconf" }]
keywords = [
"configurations",
"configs",
"settings",
"pip",
"pip.conf"
]
classifiers = [
"Environment :: Console",
"Topic :: Utilities",
"Typing :: Typed"
]
[tool.poetry.urls]
"Bug Tracker" = "https://github.com/jjpaulo2/pipconf/issues"
[tool.poetry.dependencies]
python = "^3.9"
typer = "^0.9.0"
rich = "^13.7.1"
[tool.poetry.group.dev.dependencies]
mypy = "^1.4.1"
bandit = "^1.7.5"
ruff = "^0.5.6"
pytest = "^7.4.0"
pytest-randomly = "^3.13.0"
pytest-mock = "^3.14.0"
taskipy = "^1.13.0"
[tool.poetry.scripts]
pipconf = "pipconf.__main__:app"
[tool.ruff]
line-length = 80
[tool.ruff.format]
quote-style = "single"
docstring-code-format = true
[tool.taskipy.tasks]
tests = { cmd = "pytest -vvv", help = "Runs all unit tests" }
lint = { cmd = "ruff format && ruff check --fix", help = "Format and lint the code" }
security = { cmd = "bandit -c pyproject.toml -r pipconf", help = "Check security issues on the code" }
check = { cmd = "ruff format --check && ruff check && mypy .", help = "Check code issues" }
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"