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

Add some in-situ documentation to pre commit config #1321

Draft
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

tjdcs
Copy link
Contributor

@tjdcs tjdcs commented Jan 3, 2025

This helps me see what the current pre-commit config tools are when I happen to need to look at this again in several months.

‼️ Ahead of PR #1320

@coveralls
Copy link

Coverage Status

coverage: 97.471%. remained the same
when pulling affff94 on docs/pre-commit
into 87ea299 on develop.

Copy link
Member

@KelSolaar KelSolaar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We are running more hooks than this list, technically:

  • check-added-large-files
  • check-case-conflict
  • check-merge-conflict
  • check-symlinks
  • check-yaml
  • debug-statements
  • end-of-file-fixer
  • mixed-line-ending
  • name-tests-test
  • requirements-txt-fixer
  • trailing-whitespace
  • codespell
  • isort
  • ruff-format
  • ruff
  • blacken-docs
  • prettier
  • rst-backticks
  • rst-directive-colons
  • rst-inline-touching-normal

I'm not super excited by this because we have that configuration in all the repositories that we distribute on Pypi and if we change it here, we need to change it consistently with the other ones so that patching is easier:

and I might have forgotten a few others.

This is generally true for most of our config files, if we do one change, we likely want to propagate it to all the other repositories.

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

Successfully merging this pull request may close these issues.

3 participants