-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
58 lines (52 loc) · 2.34 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
[tool.poetry]
name = "SheetShuttle"
version = "0.1.0"
description = ""
authors = ["Noor Buchi <[email protected]>"]
readme = "README.md"
repository = "https://github.com/GatorEducator/SheetShuttle"
[tool.poetry.scripts]
sheetshuttle = "sheetshuttle.main:app"
[tool.poetry.dependencies]
python = "^3.9.6"
typer = {extras = ["all"], version = "^0.3.2"}
rich = "^10.9.0"
google-api-python-client = "^2.21.0"
google-auth-httplib2 = "^0.1.0"
google-auth-oauthlib = "^0.4.6"
pandas = "^1.3.3"
PyYAML = "^5.4.1"
tabulate = "^0.8.9"
types-PyYAML = "^6.0.0"
jsonschema = "^4.1.2"
python-dotenv = "^0.19.1"
pluginbase = "^1.0.1"
PyGithub = "^1.55"
openpyxl = "^3.0.9"
openpyxl-stubs = "^0.1.21"
types-jsonschema = "^4.4.1"
[tool.poetry.dev-dependencies]
black = "^21.8b0"
taskipy = "^1.8.1"
flake8 = "^3.9.2"
pydocstyle = "^6.1.1"
pylint = "^2.10.2"
mypy = "^0.910"
pytest = "^7.2.0"
pytest-cov = "^4.0.0"
[tool.taskipy.tasks]
black = { cmd = "black sheetshuttle tests --check", help = "Run the black checks for source code format" }
test = { cmd = 'pytest -s -m "not webtest"', help = "Run the pytest test suite except webtests" }
test-interaction = { cmd = 'pytest -v -m webtest', help = "Run the pytest webtests" }
test-all = {cmd = "pytest -v -s", help = "Run the full pytest test suite"}
coverage = {cmd = 'pytest -s -vv -m "not webtest" --cov-report term-missing --cov=sheetshuttle --cov-report xml --cov-branch', help = "Run the coverage report for the test suite except webtests"}
coverage-all = {cmd = 'pytest -s -vv --cov-report term-missing --cov=sheetshuttle --cov-report xml --cov-branch', help = "Run the coverage report for full test suite"}
flake8 = { cmd = "flake8 sheetshuttle tests", help = "Run the flake8 checks for source code documentation" }
mypy = { cmd = "poetry run mypy sheetshuttle --show-error-codes", help = "Run the mypy type checker for potential type errors" }
pydocstyle = { cmd = "pydocstyle sheetshuttle tests", help = "Run the pydocstyle checks for source code documentation" }
pylint = { cmd = "pylint sheetshuttle tests", help = "Run the pylint checks for source code documentation" }
all = "task black && task flake8 && task pydocstyle && task mypy && task pylint && task test"
lint = "task black && task flake8 && task pydocstyle && task mypy && task pylint "
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"