Add to the matrix test the support of 3.11 cuenca-validations and add a pre-commit action to validate:
- linter
- EOF line
- add exclusion .ipnyb files (Jupiter notebooks)
- Check yml
- trailling-whitespace
This is an example on how to do it:
exclude: '.*\.ipynb$'
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: https://github.com/codespell-project/codespell
rev: v2.2.4
hooks:
- id: codespell
additional_dependencies:
- tomli
- repo: local
hooks:
- id: lint
name: Lint
entry: make lint
types: [python]
language: system
pass_filenames: false