aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* .pre-commit-config.yaml: bump pylint to 3.1.0Alfred Wingate2024-04-281-1/+1
| | | | | | Signed-off-by: Alfred Wingate <parona@protonmail.com> Closes: https://github.com/gentoo/portage/pull/1315 Signed-off-by: Sam James <sam@gentoo.org>
* actions: Use psf/black@24.1.1 and sync pre-commit versionZac Medico2024-01-281-1/+1
| | | | Signed-off-by: Zac Medico <zmedico@gentoo.org>
* actions: Use psf/black@23.12.1 and sync pre-commit versionZac Medico2024-01-281-1/+1
| | | | | | | | | | | | The versions must be consistent, since psf/black@stable now refers to 24.1.1 which triggers some reformatting relative to black 23.x. The consistency should correct lint failures like this: https://github.com/gentoo/portage/actions/runs/7667403073/job/20950314014?pr=1239 Signed-off-by: Zac Medico <zmedico@gentoo.org>
* .pre-commit-config.yaml: refresh versionsSam James2023-12-101-4/+4
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* CI: update tool versionsSam James2023-07-261-4/+4
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* CI: allow pyupgrade to use >= 3.9 syntaxSam James2023-07-261-1/+1
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* tests: pre-commit: add pytest dep to pylintDavid Palao2023-05-261-0/+2
| | | | | | Signed-off-by: David Palao <david.palao@gmail.com> Closes: https://github.com/gentoo/portage/pull/1047 Signed-off-by: Sam James <sam@gentoo.org>
* .pre-commit-config.yaml: add pyupgradeSam James2023-01-101-0/+5
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* .pre-commit-config.yaml: add flyntSam James2023-01-101-1/+5
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* Add a pre-commit configJohn Helmert III2023-01-011-0/+10
Using pre-commit instead of a manually written pre-commit hook will run the linter only over files that have changes, resulting in a much faster linting hook. Closes: https://github.com/gentoo/portage/pull/954 Signed-off-by: John Helmert III <ajak@gentoo.org>