Skip to content

Commit

Permalink
Merge pull request #90 from jdufresne/github
Browse files Browse the repository at this point in the history
Ignore .github by default
  • Loading branch information
mgedmin committed Nov 12, 2018
2 parents 4e2527f + 460dcb6 commit 98d5278
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGES.rst
Expand Up @@ -6,6 +6,7 @@ Changelog
-----------------

- Claim Python 3.7 support.
- Added GitHub templates to default ignore patterns.


0.37 (2018-04-12)
Expand Down
1 change: 1 addition & 0 deletions README.rst
Expand Up @@ -99,6 +99,7 @@ ignore
.gitignore
.bzrignore
.gitattributes
.github/*
.travis.yml
Jenkinsfile
*.mo
Expand Down
1 change: 1 addition & 0 deletions check_manifest.py
Expand Up @@ -529,6 +529,7 @@ def add_directories(names):
# it's not a problem if the sdist is lacking these files:
'.hgtags', '.hgsigs', '.hgignore', '.gitignore', '.bzrignore',
'.gitattributes',
'.github/*', # GitHub template files
'.travis.yml',
'Jenkinsfile',
# it's convenient to ship compiled .mo files in sdists, but they shouldn't
Expand Down
2 changes: 2 additions & 0 deletions tests.py
Expand Up @@ -287,6 +287,7 @@ def test_file_matches(self):
def test_strip_sdist_extras(self):
from check_manifest import strip_sdist_extras
filelist = list(map(os.path.normpath, [
'.github/ISSUE_TEMPLATE/bug_report.md',
'.gitignore',
'.travis.yml',
'setup.py',
Expand Down Expand Up @@ -329,6 +330,7 @@ def test_strip_sdist_extras_with_manifest(self):
recursive-exclude src/zope *.sh
""")
filelist = list(map(os.path.normpath, [
'.github/ISSUE_TEMPLATE/bug_report.md',
'.gitignore',
'setup.py',
'setup.cfg',
Expand Down

0 comments on commit 98d5278

Please sign in to comment.