cuenca-mx / cuenca-mx/cuenca-validations
cuenca-validations python 3.11 support and pre-commit actions
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 3
- Forks
- 0
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 6
Description
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
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Locate the test matrix and existing CI configuration, then review how cuenca-validations currently runs Python checks. Add Python 3.11 coverage and pre-commit validation for linting, YAML, TOML, EOF, trailing whitespace, codespell, and notebook exclusion; done means the checks run successfully in CI.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- ci-cd, testing, tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100