generated from jowj/python-template
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
josiah
598aa6caf2
|
2 years ago | |
---|---|---|
fitness | 2 years ago | |
.gitignore | 2 years ago | |
.pre-commit-config.yaml | 2 years ago | |
Pipfile | 2 years ago | |
Pipfile.lock | 2 years ago | |
pyproject.toml | 2 years ago | |
readme.org | 2 years ago |
readme.org
quantified josiah
Project that houses all my scripts and automation for pulling in data from external-to-me projects.
Development
Make sure this is run inside a git repo.
pipenv shell
pipenv install -d isort mypy pylint pre-commit
#+NAME:Configure pre-commit
pre-commit install
pre-commit autoupdate
Since this is the first time running any linters in your project, you probably want to run it against your whole project:
pre-commit run --all-files
Going forward, pre-commit and its hooks will be run ahead of every commit you make.
Common issues
- You really need to be inside a git repo or pre-commit will not work.
- If you modify `pyproject.toml` make sure your syntax is correct; many linters will error in arcane ways due to an improperly titled section.