Skip to content

Latest commit

 

History

History
40 lines (28 loc) · 576 Bytes

CONTRIBUTING.md

File metadata and controls

40 lines (28 loc) · 576 Bytes

Contributing

Contributing is available at https://gitlab.inria.fr/discovery/enoslib!

Tools

pre-commit

# install pre-commit
python -m pip install -u pre-commit
# install pre-commit hook
python -m pre_commit install

# useful command
python -m pre_commit run --all-files

pytest

# simple pytest
python -m pytest path/to/file

tox

python -m pip install tox
python -m tox

# unit tests (change python target if needed)
tox -e py310

#pylint
tox -e pylint

# typecheck
tox -e typecheck