-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathPipfile
35 lines (32 loc) · 827 Bytes
/
Pipfile
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
[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"
[packages]
requests = ">=2.32.0"
pyyaml = ">=6.0.0"
ratelimit = ">=2.2.0"
semantic-version = ">=2.10.0"
[dev-packages]
black = "*"
typing_extensions = "*"
build = "*"
twine = "*"
sphinx = "*"
myst-parser = "*"
tomli = "*"
responses = "*"
[scripts]
main = "python -m ghastoolkit"
build = "python -m build"
publish = "python -m twine upload dist/*"
clean = "rm -r ./src/ghastoolkit.egg-info/ && rm -r ./dist"
# tests
test = "python -m unittest discover -v -s ./tests -p 'test_*.py'"
# examples = "eval 'set -e; for f in examples/*.py; do; python $f; done'"
# formatting
fmt = "black ./src/ghastoolkit"
lint = "black --check ./src/ghastoolkit"
# docs
docs = "sphinx-build -b html ./docs ./public"
docs-check = "sphinx-build -b html ./docs ./public -W"