Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cuenca-validations python 3.11 support and pre-commit actions #343

Open
alexviquez opened this issue Aug 23, 2023 · 0 comments
Open

cuenca-validations python 3.11 support and pre-commit actions #343

alexviquez opened this issue Aug 23, 2023 · 0 comments

Comments

@alexviquez
Copy link
Member

alexviquez commented Aug 23, 2023

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
@alexviquez alexviquez changed the title cuenca-validations python 3.11 support cuenca-validations python 3.11 support and pre-commit actions Aug 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant