forked from GatorEducator/gatorgrade
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
59 lines (53 loc) · 2.33 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 = "gatorgrade"
version = "0.0.0"
description = "GatorGrade executes GatorGrader checks!"
authors = ["Michael Abraham", "Jacob Allebach", "Liam Black", "Katherine Burgess", "Yanqiao Chen", "Ochirsaikhan Davaajambal", "Tuguldurnemekh Gantulga", "Anthony Grant-Cook", "Dylan Holland", "Gregory M. Kapfhammer", "Peyton Kelly", "Luke Lacaria", "Lauren Nevill", "Jack Turner", "Daniel Ullrich", "Garrison Vanzin", "Rian Watson"]
readme = "README.md"
[tool.poetry.dependencies]
python = ">=3.7.2,<4.0"
PyYAML = "^6.0"
gatorgrader = "^1.1.1"
rich = "^12.5.1"
typer = {extras = ["all"], version = "^0.6.1"}
[tool.poetry.dev-dependencies]
taskipy = "^1.10.1"
pytest = "^7.1.1"
pytest-cov = "^3.0.0"
pylint = "^2.13.4"
black = "^22.3.0"
pydocstyle = "^6.1.1"
mkdocs = "^1.3.0"
mkdocstrings = {extras = ["python"], version = "^0.18.1"}
mkdocs-gen-files = "^0.3.4"
mkdocs-typer = "^0.0.2"
mkdocs-literate-nav = "^0.4.1"
toml = "^0.10.2"
pytest-sugar = "^0.9.5"
pytest-randomly = "^3.12.0"
pytest-clarity = "^1.0.1"
isort = "^5.10.1"
mkdocs-material = "^8.4.2"
[tool.taskipy.tasks]
black = { cmd= "black gatorgrade tests --check", help = "Run the black checks for source code format" }
fiximports = { cmd = "isort gatorgrade tests", help = "Run isort to fix source code imports" }
fixformat = { cmd = "black gatorgrade tests", help = "Run the black checks for source code format" }
isort = { cmd = "isort -c gatorgrade tests", help = "Run the isort checks for source code" }
test = { cmd = "pytest --cov-report term-missing --cov-branch --cov=gatorgrade tests/", help = "Run the pytest test suite" }
pylint = { cmd = "pylint gatorgrade tests", help = "Run the pylint checks for source code documentation" }
pydocstyle = { cmd = "pydocstyle gatorgrade tests", help = "Run the pydocstyle checks for source code documentation" }
all = "task black && task isort && task pydocstyle && task pylint && task test"
lint = "task black && task isort && task pydocstyle && task pylint"
mkdocs = { cmd = "mkdocs gh-deploy", help = "Build and deploy MKDocs documentation" }
[tool.isort]
include_trailing_comma = true
force_single_line = true
force_grid_wrap = 0
use_parentheses = true
ensure_newline_before_comments = true
line_length = 88
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.scripts]
gatorgrade = 'gatorgrade.main:app'