Skip to content

Commit

Permalink
update Taskfile
Browse files Browse the repository at this point in the history
  • Loading branch information
asanchezyali committed Jul 28, 2024
1 parent c70d97e commit 5e9bc63
Show file tree
Hide file tree
Showing 3 changed files with 81 additions and 13 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ applications such as cryptography and computer algebra.
To install Zmodn, you can use pip:

```bash
pip install zmodn
pip install .
```

## Usage
Expand Down
31 changes: 31 additions & 0 deletions Taskfile.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
version: '3'

tasks:
development:
cmds:
- poetry install
- poetry run python -m pre_commit install
- poetry run pre-commit install
- poetry run pre-commit autoupdate
- poetry run pre-commit run --all-files

install:
cmds:
- poetry shell
- pip install -e .

build-docs:
cmds:
- cd docs && make html

clean-docs:
cmds:
- cd docs && make clean html

generate-requirements:
cmds:
- poetry export --without-hashes --format=requirements.txt > requirements.txt

test:
cmds:
- poetry run pytest
61 changes: 49 additions & 12 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,16 +1,53 @@
cfgv==3.4.0 ; python_version >= "3.11" and python_version < "4.0"
alabaster==0.7.16 ; python_version >= "3.11" and python_version < "4.0"
annotated-types==0.7.0 ; python_version >= "3.11" and python_version < "4.0"
appdirs==1.4.4 ; python_version >= "3.11" and python_version < "4.0"
asttokens==2.4.1 ; python_version >= "3.11" and python_version < "4.0"
babel==2.14.0 ; python_version >= "3.11" and python_version < "4.0"
certifi==2024.2.2 ; python_version >= "3.11" and python_version < "4.0"
charset-normalizer==3.3.2 ; python_version >= "3.11" and python_version < "4.0"
colorama==0.4.6 ; python_version >= "3.11" and python_version < "4.0" and sys_platform == "win32"
distlib==0.3.7 ; python_version >= "3.11" and python_version < "4.0"
filelock==3.12.4 ; python_version >= "3.11" and python_version < "4.0"
identify==2.5.30 ; python_version >= "3.11" and python_version < "4.0"
iniconfig==2.0.0 ; python_version >= "3.11" and python_version < "4.0"
nodeenv==1.8.0 ; python_version >= "3.11" and python_version < "4.0"
decorator==5.1.1 ; python_version >= "3.11" and python_version < "4.0"
docutils==0.20.1 ; python_version >= "3.11" and python_version < "4.0"
executing==2.0.1 ; python_version >= "3.11" and python_version < "4.0"
idna==3.6 ; python_version >= "3.11" and python_version < "4.0"
imagesize==1.4.1 ; python_version >= "3.11" and python_version < "4.0"
ipython==8.26.0 ; python_version >= "3.11" and python_version < "4.0"
jedi==0.19.1 ; python_version >= "3.11" and python_version < "4.0"
jinja2==3.1.3 ; python_version >= "3.11" and python_version < "4.0"
markdown-it-py==3.0.0 ; python_version >= "3.11" and python_version < "4.0"
markupsafe==2.1.5 ; python_version >= "3.11" and python_version < "4.0"
matplotlib-inline==0.1.7 ; python_version >= "3.11" and python_version < "4.0"
mdit-py-plugins==0.4.1 ; python_version >= "3.11" and python_version < "4.0"
mdurl==0.1.2 ; python_version >= "3.11" and python_version < "4.0"
myst-parser==3.0.1 ; python_version >= "3.11" and python_version < "4.0"
numpy==1.26.1 ; python_version >= "3.11" and python_version < "3.13"
packaging==23.2 ; python_version >= "3.11" and python_version < "4.0"
platformdirs==3.11.0 ; python_version >= "3.11" and python_version < "4.0"
pluggy==1.3.0 ; python_version >= "3.11" and python_version < "4.0"
pre-commit==3.5.0 ; python_version >= "3.11" and python_version < "4.0"
pytest==7.4.3 ; python_version >= "3.11" and python_version < "4.0"
parso==0.8.4 ; python_version >= "3.11" and python_version < "4.0"
pexpect==4.9.0 ; python_version >= "3.11" and python_version < "4.0" and (sys_platform != "win32" and sys_platform != "emscripten")
prompt-toolkit==3.0.47 ; python_version >= "3.11" and python_version < "4.0"
ptyprocess==0.7.0 ; python_version >= "3.11" and python_version < "4.0" and (sys_platform != "win32" and sys_platform != "emscripten")
pure-eval==0.2.3 ; python_version >= "3.11" and python_version < "4.0"
pydantic-core==2.20.1 ; python_version >= "3.11" and python_version < "4.0"
pydantic-extra-types==2.9.0 ; python_version >= "3.11" and python_version < "4.0"
pydantic==2.8.2 ; python_version >= "3.11" and python_version < "4.0"
pygments==2.17.2 ; python_version >= "3.11" and python_version < "4.0"
pyyaml==6.0.1 ; python_version >= "3.11" and python_version < "4.0"
setuptools==68.2.2 ; python_version >= "3.11" and python_version < "4.0"
virtualenv==20.24.5 ; python_version >= "3.11" and python_version < "4.0"
requests==2.31.0 ; python_version >= "3.11" and python_version < "4.0"
six==1.16.0 ; python_version >= "3.11" and python_version < "4.0"
snowballstemmer==2.2.0 ; python_version >= "3.11" and python_version < "4.0"
sphinx-design==0.6.0 ; python_version >= "3.11" and python_version < "4.0"
sphinx-immaterial==0.12.1 ; python_version >= "3.11" and python_version < "4.0"
sphinx-last-updated-by-git==0.3.7 ; python_version >= "3.11" and python_version < "4.0"
sphinx-math-dollar==1.2.1 ; python_version >= "3.11" and python_version < "4.0"
sphinx==7.4.7 ; python_version >= "3.11" and python_version < "4.0"
sphinxcontrib-applehelp==1.0.8 ; python_version >= "3.11" and python_version < "4.0"
sphinxcontrib-devhelp==1.0.6 ; python_version >= "3.11" and python_version < "4.0"
sphinxcontrib-htmlhelp==2.0.5 ; python_version >= "3.11" and python_version < "4.0"
sphinxcontrib-jsmath==1.0.1 ; python_version >= "3.11" and python_version < "4.0"
sphinxcontrib-qthelp==1.0.7 ; python_version >= "3.11" and python_version < "4.0"
sphinxcontrib-serializinghtml==1.1.10 ; python_version >= "3.11" and python_version < "4.0"
stack-data==0.6.3 ; python_version >= "3.11" and python_version < "4.0"
traitlets==5.14.3 ; python_version >= "3.11" and python_version < "4.0"
typing-extensions==4.12.2 ; python_version >= "3.11" and python_version < "4.0"
urllib3==2.2.1 ; python_version >= "3.11" and python_version < "4.0"
wcwidth==0.2.13 ; python_version >= "3.11" and python_version < "4.0"

0 comments on commit 5e9bc63

Please sign in to comment.