mirror of
https://github.com/kennethreitz/pydantic.git
synced 2026-06-05 23:00:18 +00:00
f341049b9e
* Remove Cython * fix CI * fix coverage * fix tests * switching to pypyroject.toml * pre-commit all and use pre-commit for linting * no mypy tests on macos and windows on ci, use flake8-pyproject * fix docs and tests CI * check build is working * drop pytest-cov * window and macos ci with 3.11, reduce filtering * use pip-tools to pin all dependencies * fix docs and fastapi tests * fix test deps for 3.7 * no cache on tests job * revert fastapi changes, fix coverage * fix mypy coverage * test with older mypy * dotenv not required for mypy tests * split testing requirements std and extra * typo * @PrettyWood comments * correct branch name * mypy python_version and pr template
31 lines
591 B
YAML
31 lines
591 B
YAML
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v4.3.0
|
|
hooks:
|
|
- id: check-yaml
|
|
args: ['--unsafe']
|
|
- id: check-toml
|
|
- id: end-of-file-fixer
|
|
- id: trailing-whitespace
|
|
|
|
- repo: local
|
|
hooks:
|
|
- id: lint
|
|
name: Lint
|
|
entry: make lint
|
|
types: [python]
|
|
language: system
|
|
pass_filenames: false
|
|
- id: mypy
|
|
name: Mypy
|
|
entry: make mypy
|
|
types: [python]
|
|
language: system
|
|
pass_filenames: false
|
|
- id: pyupgrade
|
|
name: Pyupgrade
|
|
entry: pyupgrade --py37-plus
|
|
types: [python]
|
|
language: system
|
|
exclude: ^docs/.*$
|