-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
49 lines (44 loc) · 1.64 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
[tool.poetry]
name = "gatortracer"
version = "0.1.0"
description = ""
authors = ["Yanqiao4396 <[email protected]>"]
readme = "README.md"
[tool.poetry.dependencies]
python = ">=3.8.1,<4.0"
PyGithub = "^1.58.2"
dash = "^2.10.2"
plotly = "^5.15.0"
typer = "<0.7.0,>=0.6.1"
pprintjson = "^1.4.2"
polars = "^0.18.5"
rich = "^13.4.2"
pyarrow = "^12.0.1"
platformdirs = "^3.8.1"
pytest = "^7.4.0"
pandas = "^2.0.3"
[tool.poetry.dev-dependencies]
pylint = "^2.17.4"
ruff = "^0.0.278"
black = "^23.7.0"
taskipy = "^1.11.0"
isort = "^5.12.0"
pydocstyle = "^6.3.0"
flake8 = "^6.0.0"
mypy = "^1.4.1"
[tool.taskipy.tasks]
black = { cmd= "black . --check", help = "Run the black checks for source code format" }
isort = { cmd = "isort -c .", help = "Run the isort checks for source code" }
pylint = { cmd = "pylint .", help = "Run the pylint checks for source code documentation" }
style = { cmd = "pydocstyle .", help = "Run the pydocstyle checks for source code documentation" }
flake8 = { cmd = "flake8 .", help = "Run the flake8 checks for source code documentation" }
pydocstyle = { cmd = "pydocstyle .", help = "Run the pydocstyle checks for source code documentation" }
mypy = { cmd = "poetry run mypy . --show-error-codes", help = "Run the mypy type checker for potential type" }
ruff = {cmd = "poetry run ruff .", help = "Run the ruff checks for the source code documentation"}
test = { cmd = "pytest tests -s -v", help = "Run the program test"}
lint = "task black && task flake8 && task pydocstyle && task mypy && task pylint && ruff"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.scripts]
gatortracer = 'gatortracer.cli:cli'