mirror of
https://github.com/jongracecox/anybadge.git
synced 2025-09-04 15:10:06 +02:00
- Drop support for Python <3.7 - Bump the pre-commit version used in CI - Add type hinting and docstrings - Add mypy to pre-commit config - Fix typing issues - Update colors module - Update colors module to use uppercase hex codes - Add `__lt__` to allow sorting colors by name - Fix `build_examples.py` to work with color Enum - Update example badges in `README.md` - Fix typing issues in server - Update travis links in `README.md` - Fix PyPi deployment bug (#60)
21 lines
461 B
YAML
21 lines
461 B
YAML
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v4.3.0
|
|
hooks:
|
|
- id: trailing-whitespace
|
|
- id: end-of-file-fixer
|
|
- id: check-case-conflict
|
|
- id: check-yaml
|
|
- id: requirements-txt-fixer
|
|
- id: mixed-line-ending
|
|
- id: no-commit-to-branch
|
|
args: [--branch, master]
|
|
- repo: https://github.com/psf/black
|
|
rev: 22.6.0
|
|
hooks:
|
|
- id: black
|
|
- repo: https://github.com/pre-commit/mirrors-mypy
|
|
rev: v0.971
|
|
hooks:
|
|
- id: mypy
|