|
|
|
@ -6,13 +6,13 @@
|
|
|
|
|
** Development
|
|
|
|
|
Make sure this is run inside a git repo.
|
|
|
|
|
|
|
|
|
|
#+NAME: Install prereqs
|
|
|
|
|
#+name: Install prereqs
|
|
|
|
|
#+begin_src shell
|
|
|
|
|
pipenv shell
|
|
|
|
|
pipenv install -d isort mypy pylint pre-commit
|
|
|
|
|
#+end_src
|
|
|
|
|
|
|
|
|
|
#+NAME:Configure pre-commit
|
|
|
|
|
#+name: Configure pre-commit
|
|
|
|
|
#+begin_src shell
|
|
|
|
|
pre-commit install
|
|
|
|
|
pre-commit autoupdate
|
|
|
|
@ -27,3 +27,6 @@ Going forward, pre-commit and its hooks will be run ahead of every commit you ma
|
|
|
|
|
*** 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.
|
|
|
|
|
|
|
|
|
|
** Plans
|
|
|
|
|
Eventually, I'll write automation for pulling stuff from all my chat apps, all my browsers, etc. I've just started with my watch so far.
|
|
|
|
|