https://github.com/quantco/pre-commit-mirrors-pyupgrade
pre-commit hook that mirrors the pyupgrade version for usage with conda as pre-commit language
https://github.com/quantco/pre-commit-mirrors-pyupgrade
Last synced: about 1 year ago
JSON representation
pre-commit hook that mirrors the pyupgrade version for usage with conda as pre-commit language
- Host: GitHub
- URL: https://github.com/quantco/pre-commit-mirrors-pyupgrade
- Owner: Quantco
- License: bsd-3-clause
- Created: 2020-01-13T08:40:28.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2025-02-03T07:45:55.000Z (over 1 year ago)
- Last Synced: 2025-02-03T08:33:23.896Z (over 1 year ago)
- Homepage:
- Size: 89.8 KB
- Stars: 0
- Watchers: 12
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# pyupgrade pre-commit hook
pre-commit hook of pyupgrade with conda as a `language` / package manager.
For pre-commit: see [here](https://github.com/pre-commit/pre-commit)
For pyupgrade: see [here](https://github.com/asottile/pyupgrade)
## Using pyupgrade with pre-commit and conda:
Add this to your `.pre-commit-config.yaml`
```yaml
- repo: https://github.com/quantco/pre-commit-mirrors-pyupgrade
rev: '' # Use the sha / tag you want to point at
hooks:
- id: pyupgrade-conda
```