-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPipfile
57 lines (53 loc) · 1.73 KB
/
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"
[packages]
braceexpand = "==0.1.7"
bunch = "==1.0.1"
certifi = "==2024.7.4"
charset-normalizer = "==2.0.6"
click = "==8.0.1"
colorama = "==0.4.4"
commonmark = "==0.9.1"
dynaconf = "==3.1.7"
emoji = "==1.5.0"
idna = "==3.7"
jmespath = "==0.10.0"
loguru = "==0.5.3"
requests = "==2.32.0"
rich = "==10.11.0"
timeago = "==1.0.15"
urllib3 = "==1.26.19"
Pygments = "==2.10.0"
[dev-packages]
autopep8 = "*" # https://github.com/hhatto/autopep8
black = "*" # https://github.com/psf/black
flake8 = "*" # https://flake8.pycqa.org
mccabe = "*" # https://github.com/PyCQA/mccabe
pycallgraph = "*" # https://pycallgraph.readthedocs.io/en/master/
pycodestyle = "*" # https://github.com/PyCQA/pycodestyle
pyflakes = "*" # https://github.com/PyCQA/pyflakes
pylint = "*" # https://pylint.org/
setuptools = "==57.5.0" # for pycallgraph
vprof = "*" # https://github.com/nvdv/vprof
[requires]
python_version = "3.10"
[scripts]
# program
requirements = "bash scripts/requirements.sh"
start = "bash scripts/start.sh"
# dev
changelog = "bat CHANGELOG.md"
codestyle = "find src -iname '*.py' -exec pycodestyle --first {} \\;"
complexity = "find src -iname '*.py' -exec python -m mccabe {} \\;"
error-check = "python3 -m pyflakes src"
format-black = "black src/"
format-pep8 = "find src -iname '*.py' -exec autopep8 --in-place --aggressive --aggressive {} \\;"
graph = "pycallgraph src/ --output=dev/graph.svg"
linter = "find src -iname '*.py' -exec pylint {} \\;"
profiler-start = "vprof -c cmh src/main.py --output-file dev/profiler.json"
profiler-view = "vprof --input-file dev/profiler.json"
requirements-dev = "bash scripts/requirements-dev.sh"
security-scan = "docker scan cnit_ml"
style-guide = "flake8 src/"