-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
148 lines (134 loc) · 3.49 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
[build-system]
requires = [ "setuptools" ]
build-backend = "setuptools.build_meta"
[project]
name = "egrader"
description = "Auto-grader for Git-based programming exercises"
version = "0.0.8"
authors = [ { name = "Nuno Fachada", email = "[email protected]" } ]
readme = "README.md"
requires-python = ">=3.10"
keywords = [
"aat",
"education",
"autograder",
"programming",
"computer science education" ]
license = {text = "GPL-3"}
# https://pypi.org/classifiers/
classifiers = [
"Development Status :: 3 - Alpha",
"Programming Language :: Python :: 3",
"Intended Audience :: Education",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: POSIX",
"Topic :: Education" ]
dependencies = [
"numpy",
"python-dateutil",
"pyyaml",
"requests",
"sh >= 2.0.0",
"yarl",
"validators" ]
[project.scripts]
egrader = "egrader.cli_bin:main"
[project.entry-points."egrader.assess_repo"]
min_commits = "egrader.plugins.repo:assess_min_commits"
commit_date_interval = "egrader.plugins.repo:assess_commit_date_interval"
commits_email = "egrader.plugins.repo:assess_commits_email"
repo_exists = "egrader.plugins.repo:assess_repo_exists"
files_exist = "egrader.plugins.repo:assess_files_exist"
run_command = "egrader.plugins.repo:assess_run_command"
[project.entry-points."egrader.assess_inter_repo"]
more_commits_bonus = "egrader.plugins.inter_repo:assess_more_commits_bonus"
[project.entry-points."egrader.report"]
basic = "egrader.plugins.report:report_basic"
markdown = "egrader.plugins.report:report_markdown"
tsv = "egrader.plugins.report:report_tsv"
[project.optional-dependencies]
dev = [
"black",
"flake8 >= 6.0.0",
"flake8-black",
"flake8-builtins",
"flake8-bugbear",
"flake8-comprehensions",
"flake8-docstrings",
"flake8-isort",
"Flake8-pyproject",
"flake8-pytest-style",
"flake8-simplify",
"isort",
"mypy",
"pep8-naming",
"pre-commit",
"pytest >= 8.0",
"coverage",
"pytest-cov >= 3.0.0",
"pytest-mypy",
"types-python-dateutil",
"types-PyYAML",
"types-requests" ]
[project.urls]
"Bug Reports" = "https://github.com/VideojogosLusofona/egrader/issues"
"Documentation" = "https://videojogoslusofona.github.io/egrader/"
"Source" = "https://github.com/VideojogosLusofona/egrader"
[tool.setuptools]
packages = [ "egrader" ]
[tool.mypy]
python_version = "3.10"
check_untyped_defs = true
[[tool.mypy.overrides]]
module = [
"validators",
"sh"
]
ignore_missing_imports = true
[tool.pytest.ini_options]
minversion = "8.0"
addopts = "--mypy --doctest-modules"
norecursedirs = [
"hooks",
"*.egg",
".eggs",
"dist",
"build",
"docs",
".tox",
".git",
"__pycache__" ]
testpaths = ["egrader", "tests"]
[tool.black]
line-length = 88
[tool.isort]
# https://pycqa.github.io/isort/docs/configuration/options.html
profile = "black"
src_paths = [ "egrader", "tests" ]
line_length = 88
skip_gitignore = "True"
[tool.flake8]
extend-select = [ "B9", "C4" ]
max-line-length = 88
max-doc-length = 88
ignore = [
"B018",
"B907", # manually surrounded by quotes, consider using the `!r` conversion flag.
# "E203", # whitespace before ':' # https://github.com/PyCQA/pycodestyle/issues/373
"E203",
"SIM106",
"W503" ]
doctests = true
exclude = [
".git",
"__pycache__",
".*cache",
"build",
"dist",
"env",
"venv",
".eggs",
"*.egg",
"docs" ]
# flake8-docstrings
docstring-convention = "google"