8000 Add end-of-file-fixer to pre-commit by hugovk · Pull Request #106065 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

Add end-of-file-fixer to pre-commit #106065

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

Merged
merged 4 commits into from
Jun 25, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Add end-of-file-fixer to pre-commit, part of patchcheck's normalize_w…
…hitespace(python_files)
  • Loading branch information
hugovk committed Jun 24, 2023
commit adce4cfca3aa4cffd37956eb512ef945fb625410
2 changes: 2 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ repos:
rev: v4.4.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
types_or: [python]
- id: trailing-whitespace
types_or: [c, python, rst]

Expand Down
0