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

Ignore setup.cfg in pre-commit's Trailing Whitespace. #602

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Expand Up @@ -14,6 +14,7 @@ repos:
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
exclude: 'setup.cfg'
- repo: https://github.com/psf/black
rev: 21.9b0
hooks:
Expand Down
6 changes: 3 additions & 3 deletions setup.cfg
Expand Up @@ -9,15 +9,15 @@ tag_name = {new_version}
omit = gmso/tests/*

[coverage:report]
exclude_lines =
exclude_lines =
pragma: no cover

def __repr__
def __str__
except ImportError
if 0:
if __name__ == .__main__.:
omit =
omit =
gmso/tests/*

[bumpversion:file:gmso/__init__.py]
Expand Down