Skip to content

Commit 1dd6c23

Browse files
committed
Add jupyterlab and ruff requirements.
1 parent 2742a99 commit 1dd6c23

File tree

4 files changed

+116
-1
lines changed

4 files changed

+116
-1
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
11
# TEMP
22
data/
33
data*/
4+
_data/
5+
_data*/
46
.joblib_cache/
57
.joblib_cache*/
68

79
.idea/
810
.vscode/
911
log/
1012
*.log
13+
.DS_Store
1114

1215
# Byte-compiled / optimized / DLL files
1316
__pycache__/

Makefile

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,20 @@ clean:
99
run:
1010
source venv/bin/activate ; PYTHONPATH='./src' python -m app reqarg1
1111

12+
jupyter:
13+
source venv/bin/activate; PYTHONPATH='./src' jupyter lab
14+
15+
black-check:
16+
source venv/bin/activate ; black src --check --verbose --line-length 120
17+
1218
black:
13-
source venv/bin/activate ; black --line-length 120 .
19+
source venv/bin/activate ; black src --line-length 120
20+
21+
ruff-check:
22+
source venv/bin/activate ; ruff check .
23+
24+
ruff:
25+
source venv/bin/activate ; ruff check . --fix
1426

1527
test:
1628
source venv/bin/activate ; PYTHONPATH='./src' pytest -vv --capture=no tests

requirements-dev.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
-r requirements.txt
22
pytest
33
black
4+
ruff
5+
jupyterlab

requirements_freeze.txt

Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
1+
anyio==4.2.0
2+
appnope==0.1.3
3+
argon2-cffi==23.1.0
4+
argon2-cffi-bindings==21.2.0
5+
arrow==1.3.0
6+
asttokens==2.4.1
7+
async-lru==2.0.4
8+
attrs==23.1.0
9+
Babel==2.14.0
10+
beautifulsoup4==4.12.2
11+
black==23.12.1
12+
bleach==6.1.0
13+
certifi==2023.11.17
14+
cffi==1.16.0
15+
charset-normalizer==3.3.2
16+
click==8.1.7
17+
comm==0.2.0
18+
debugpy==1.8.0
19+
decorator==5.1.1
20+
defusedxml==0.7.1
21+
executing==2.0.1
22+
fastjsonschema==2.19.1
23+
fqdn==1.5.1
24+
idna==3.6
25+
iniconfig==2.0.0
26+
ipykernel==6.28.0
27+
ipython==8.19.0
28+
isoduration==20.11.0
29+
jedi==0.19.1
30+
Jinja2==3.1.2
31+
json5==0.9.14
32+
jsonpointer==2.4
33+
jsonschema==4.20.0
34+
jsonschema-specifications==2023.12.1
35+
jupyter-events==0.9.0
36+
jupyter-lsp==2.2.1
37+
jupyter_client==8.6.0
38+
jupyter_core==5.5.1
39+
jupyter_server==2.12.1
40+
jupyter_server_terminals==0.5.1
41+
jupyterlab==4.0.9
42+
jupyterlab_pygments==0.3.0
43+
jupyterlab_server==2.25.2
44+
loguru==0.7.2
45+
MarkupSafe==2.1.3
46+
matplotlib-inline==0.1.6
47+
mistune==3.0.2
48+
mypy-extensions==1.0.0
49+
nbclient==0.9.0
50+
nbconvert==7.13.1
51+
nbformat==5.9.2
52+
nest-asyncio==1.5.8
53+
notebook_shim==0.2.3
54+
overrides==7.4.0
55+
packaging==23.2
56+
pandocfilters==1.5.0
57+
parso==0.8.3
58+
pathspec==0.12.1
59+
pexpect==4.9.0
60+
platformdirs==4.1.0
61+
pluggy==1.3.0
62+
prometheus-client==0.19.0
63+
prompt-toolkit==3.0.43
64+
psutil==5.9.7
65+
ptyprocess==0.7.0
66+
pure-eval==0.2.2
67+
pycparser==2.21
68+
Pygments==2.17.2
69+
pytest==7.4.3
70+
python-dateutil==2.8.2
71+
python-dotenv==1.0.0
72+
python-json-logger==2.0.7
73+
PyYAML==6.0.1
74+
pyzmq==25.1.2
75+
referencing==0.32.0
76+
requests==2.31.0
77+
rfc3339-validator==0.1.4
78+
rfc3986-validator==0.1.1
79+
rpds-py==0.16.2
80+
ruff==0.1.9
81+
Send2Trash==1.8.2
82+
six==1.16.0
83+
sniffio==1.3.0
84+
soupsieve==2.5
85+
stack-data==0.6.3
86+
terminado==0.18.0
87+
tinycss2==1.2.1
88+
tornado==6.4
89+
traitlets==5.14.0
90+
typer==0.9.0
91+
types-python-dateutil==2.8.19.14
92+
typing_extensions==4.9.0
93+
uri-template==1.3.0
94+
urllib3==2.1.0
95+
wcwidth==0.2.12
96+
webcolors==1.13
97+
webencodings==0.5.1
98+
websocket-client==1.7.0

0 commit comments

Comments
 (0)