Hugo van Kemenade
267bc5dde9
Use pre-commit/action to simplify CI ( #2191 )
2021-05-04 13:41:04 +02:00
Cooper Lees
201b331e55
Run lint in latest python + update precommit ( #2081 )
...
- Lets move to latest and greatest of lints
2021-04-01 16:15:50 -07:00
Cooper Lees
125ed5b260
Add a GitHub Action to build + Upload black to PyPI ( #1848 )
...
* Add a GitHub Action to build + Upload black to PyPI
- Build a wheel + sdist
- Upload via twine using token stored in GitHub secrets
2021-04-01 18:41:55 +02:00
Richard Si
76268ab0c9
Fix duplication of checks on internal PRs ( #1986 )
...
Internal PRs (that come from branches of psf/black) match both the push
and pull_request events. This leads to a duplication of test, lint, etc.
checks on such PRs. Not only is it a waste of resources, it makes the
Status Checks UI more frustrating to go through.
Patch taken from:
https://github.community/t/duplicate-checks-on-push-and-pull-request-simultaneous-event/18012
2021-02-14 07:23:47 -08:00
Hugo van Kemenade
2955bdc676
pre-commit: show diff on failure on CI ( #1552 )
...
* pre-commit: --show-diff-on-failure
* pre-commit: --show-diff-on-failure
2020-07-15 14:53:48 -07:00
Hugo van Kemenade
03b8304abd
Update and fix Flake8 ( #1424 )
...
* Update pre-commit
* Fix F541 f-string is missing placeholders
* Fix E741 ambiguous variable name 'l'
* Update actions to v2
2020-05-17 07:18:45 -07:00
Hugo van Kemenade
c53853f571
CI: Add Python 3.8 and lint to GitHub Actions ( #1173 )
...
* CI: Test Python 3.8 on GitHub Actions
* pre-commit autoupdate
* CI: Lint on GitHub Actions
2019-11-22 08:14:57 +00:00