repo that houses scripts and integrations that I use to backup various aspects of my online life. quantified josiah
Go to file
2022-01-30 12:28:28 -06:00
.gitignore Never commit credentials.yml 2022-01-30 12:25:30 -06:00
.pre-commit-config.yaml Update base files. 2022-01-30 12:27:42 -06:00
Pipfile Update base files. 2022-01-30 12:27:42 -06:00
Pipfile.lock Update base files. 2022-01-30 12:27:42 -06:00
pyproject.toml Initial commit 2022-01-30 18:07:05 +00:00
readme.org Update readme to go to .org. 2022-01-30 12:28:28 -06:00

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
#+begin_src shell
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

  1. You really need to be inside a git repo or pre-commit will not work.
  2. If you modify `pyproject.toml` make sure your syntax is correct; many linters will error in arcane ways due to an improperly titled section.