diff --git a/.gitignore b/.gitignore index 7ab8716..e2cbcf3 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,8 @@ # TEMP data/ data*/ +_data/ +_data*/ .joblib_cache/ .joblib_cache*/ @@ -8,6 +10,7 @@ data*/ .vscode/ log/ *.log +.DS_Store # Byte-compiled / optimized / DLL files __pycache__/ diff --git a/Makefile b/Makefile index e40fde5..a70cdf2 100644 --- a/Makefile +++ b/Makefile @@ -9,8 +9,20 @@ clean: run: source venv/bin/activate ; PYTHONPATH='./src' python -m app reqarg1 +jupyter: + source venv/bin/activate; PYTHONPATH='./src' jupyter lab + +black-check: + source venv/bin/activate ; black src --check --verbose --line-length 120 + black: - source venv/bin/activate ; black --line-length 120 . + source venv/bin/activate ; black src --line-length 120 + +ruff-check: + source venv/bin/activate ; ruff check . + +ruff: + source venv/bin/activate ; ruff check . --fix test: source venv/bin/activate ; PYTHONPATH='./src' pytest -vv --capture=no tests diff --git a/requirements-dev.txt b/requirements-dev.txt index 90bd7ef..51f6365 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,3 +1,5 @@ -r requirements.txt pytest black +ruff +jupyterlab diff --git a/requirements_freeze.txt b/requirements_freeze.txt new file mode 100644 index 0000000..24e98e9 --- /dev/null +++ b/requirements_freeze.txt @@ -0,0 +1,98 @@ +anyio==4.2.0 +appnope==0.1.3 +argon2-cffi==23.1.0 +argon2-cffi-bindings==21.2.0 +arrow==1.3.0 +asttokens==2.4.1 +async-lru==2.0.4 +attrs==23.1.0 +Babel==2.14.0 +beautifulsoup4==4.12.2 +black==23.12.1 +bleach==6.1.0 +certifi==2023.11.17 +cffi==1.16.0 +charset-normalizer==3.3.2 +click==8.1.7 +comm==0.2.0 +debugpy==1.8.0 +decorator==5.1.1 +defusedxml==0.7.1 +executing==2.0.1 +fastjsonschema==2.19.1 +fqdn==1.5.1 +idna==3.6 +iniconfig==2.0.0 +ipykernel==6.28.0 +ipython==8.19.0 +isoduration==20.11.0 +jedi==0.19.1 +Jinja2==3.1.2 +json5==0.9.14 +jsonpointer==2.4 +jsonschema==4.20.0 +jsonschema-specifications==2023.12.1 +jupyter-events==0.9.0 +jupyter-lsp==2.2.1 +jupyter_client==8.6.0 +jupyter_core==5.5.1 +jupyter_server==2.12.1 +jupyter_server_terminals==0.5.1 +jupyterlab==4.0.9 +jupyterlab_pygments==0.3.0 +jupyterlab_server==2.25.2 +loguru==0.7.2 +MarkupSafe==2.1.3 +matplotlib-inline==0.1.6 +mistune==3.0.2 +mypy-extensions==1.0.0 +nbclient==0.9.0 +nbconvert==7.13.1 +nbformat==5.9.2 +nest-asyncio==1.5.8 +notebook_shim==0.2.3 +overrides==7.4.0 +packaging==23.2 +pandocfilters==1.5.0 +parso==0.8.3 +pathspec==0.12.1 +pexpect==4.9.0 +platformdirs==4.1.0 +pluggy==1.3.0 +prometheus-client==0.19.0 +prompt-toolkit==3.0.43 +psutil==5.9.7 +ptyprocess==0.7.0 +pure-eval==0.2.2 +pycparser==2.21 +Pygments==2.17.2 +pytest==7.4.3 +python-dateutil==2.8.2 +python-dotenv==1.0.0 +python-json-logger==2.0.7 +PyYAML==6.0.1 +pyzmq==25.1.2 +referencing==0.32.0 +requests==2.31.0 +rfc3339-validator==0.1.4 +rfc3986-validator==0.1.1 +rpds-py==0.16.2 +ruff==0.1.9 +Send2Trash==1.8.2 +six==1.16.0 +sniffio==1.3.0 +soupsieve==2.5 +stack-data==0.6.3 +terminado==0.18.0 +tinycss2==1.2.1 +tornado==6.4 +traitlets==5.14.0 +typer==0.9.0 +types-python-dateutil==2.8.19.14 +typing_extensions==4.9.0 +uri-template==1.3.0 +urllib3==2.1.0 +wcwidth==0.2.12 +webcolors==1.13 +webencodings==0.5.1 +websocket-client==1.7.0