- Install development dependencies.
python3 -m pip install -r requirements-dev.txt
- Install pre-commit hooks.
python3 -m pre_commit install
Use Pylint to check for some types of errors.
./lint
To disable warnings, use:
./lint --disable=W
Use Black to format code.
black gnomad_qc
Use autopep8 to format comments.
autopep8 --in-place gnomad_qc
Use isort to format imports.
isort gnomad_qc