Skip to content

Commit

Permalink
pre-commit: add end-of-file-fixer hook, and run on all files
Browse files Browse the repository at this point in the history
JonathanWillitts committed Nov 18, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 986dd19 commit d6e45e0
Showing 5 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .coveragerc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[run]
include = edc_sites/*
omit = edc_sites/tests/*,edc_sites/migrations/*
branch = 1
branch = 1
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -38,6 +38,7 @@ repos:
- id: check-yaml
- id: debug-statements
- id: detect-private-key
- id: end-of-file-fixer
- id: fix-byte-order-marker
- id: requirements-txt-fixer
files: requirements/.*\.txt$
2 changes: 1 addition & 1 deletion AUTHORS
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Erik van Widenfelt <[email protected]>
Erik van Widenfelt <[email protected]>
1 change: 0 additions & 1 deletion CHANGES
Original file line number Diff line number Diff line change
@@ -5,4 +5,3 @@
- feature to limit to related site in FK and M2M
- filter queryset by site
- check for site attr

1 change: 0 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
@@ -226,4 +226,3 @@ For example:

.. _sites_framework: https://docs.djangoproject.com/en/dev/ref/contrib/sites/
__ sites_framework_

0 comments on commit d6e45e0

Please sign in to comment.