aboutsummaryrefslogtreecommitdiffstats
path: root/.pre-commit-config.yaml (follow)
Commit message (Collapse)AuthorAgeLines
* Fix Failing Pre-Commit HookGravatar Hassan Abouelela2022-09-30-1/+0
| | | | | | | The flake8 pre-commit hook was failing due to a configuration error with the latest pre-commit and flake8 versions. Signed-off-by: Hassan Abouelela <[email protected]>
* Fix pre-commit, since flake8 isn't a taskGravatar Chris2021-05-17-1/+1
|
* Replace pipenv with poetryGravatar Chris2021-05-17-2/+2
| | | | Including the pre-commit config here too, so I can actually lint
* Changed Python language hook to system.Gravatar xithrius2021-01-02-1/+1
|
* Add more pre-commit hooksGravatar MarkKoz2020-03-04-4/+19
| | | | | | | | | | | | | | | | | | | | | | Hooks added: * check-merge-conflict - checks for files with merge conflict strings * check-toml - attempts to load all toml files to verify syntax * check-yaml - attempts to load all yaml files to verify syntax * end-of-file-fixer - ensures files end in a newline and only a newline * mixed-line-ending - replaces mixed line endings with LF * trailing-whitespace - trims trailing whitespace * python-check-blanket-noqa - enforces that noqa annotations always occur with specific codes Changes made to comply with new hooks: * Remove trailing whitespaces * Remove some useless noqa annotations * Specify errors for noqa annotations * Add missing newlines at end of files See: python-discord/organisation#138
* Use pipenv lint script for pre-commit hookGravatar S. Co12019-09-03-13/+8
|
* Update pre-commit config to ignore migrations directoryGravatar sco12019-07-19-0/+1
| | | flake8 precommit hook does not respect .flake8 exclusions
* Pin pydocstyle<4.0 in pre-commit config to unbreak flake8-docstringsGravatar sco12019-07-10-0/+1
|
* Update linting dependenciesGravatar sco12019-07-09-0/+13
Group up all flake8 plugins Add pre-commit & configuration Add pipenv aliases for pre-commit & flake8 Relock