Skip to content

Commit

Permalink
Merge pull request #26 from facelessuser/vendor-pep562
Browse files Browse the repository at this point in the history
vendor pep562
  • Loading branch information
facelessuser authored Mar 20, 2019
2 parents 75dbbbf + 0a7ae6d commit 47e243b
Show file tree
Hide file tree
Showing 12 changed files with 271 additions and 17 deletions.
7 changes: 7 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[run]
omit=
backrefs/pep562.py

[report]
omit=
backrefs/pep562.py
8 changes: 3 additions & 5 deletions .pyspelling.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,8 @@ matrix:
- title
- alt
ignores:
- ':matches(code, pre)'
- 'a:matches(.magiclink-compare, .magiclink-commit, .magiclink-repository)'
- 'span.keys'
- ':matches(.MathJax_Preview, .md-nav__link, .md-footer-custom-text, .md-source__repository, .headerlink, .md-icon)'
- ':is(code, pre, a.magiclink, span.keys)'
- ':is(.MathJax_Preview, .md-nav__link, .md-footer-custom-text, .md-source__repository, .headerlink, .md-icon)'
- pyspelling.filters.url:

- name: markdown
Expand Down Expand Up @@ -49,7 +47,7 @@ matrix:
- name: python
sources:
- setup.py
- "{wcmatch,tests}/**/*.py"
- "{wcmatch,tests,tools}/**/*.py"
hunspell:
d: docs/src/dictionary/hunspell/en_US
aspell:
Expand Down
4 changes: 2 additions & 2 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2018 facelessuser
Copyright (c) 2018 - 2019 facelessuser

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand All @@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
SOFTWARE.
2 changes: 2 additions & 0 deletions docs/src/dictionary/en-custom.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
API
Accessors
Backport
Changelog
EmojiOne
Fnmatch
GitHub
Glob
Lookahead
MERCHANTABILITY
Expand Down
3 changes: 2 additions & 1 deletion docs/src/markdown/changelog.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Changelog

## 2.0.4
## 2.1.0

- **NEW**: Deprecate `version` and `version_info` in favor of the more standard `__version__` and `__version_info__`.
- **FIX**: Fix issue where negated patterns would trigger before end of path.
- **FIX**: Fix `GLOBSTAR` regular expression pattern issues.

Expand Down
2 changes: 1 addition & 1 deletion docs/src/markdown/license.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

The MIT License (MIT)

Copyright (c) 2018 Isaac Muse
Copyright (c) 2018 - 2019 Isaac Muse

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ repo_url: https://github.com/facelessuser/wcmatch
edit_uri: tree/master/docs/src/markdown
site_description: A wildcard file name matching library
copyright: |
Copyright &copy; 2014 - 2018 <a href="https://github.com/facelessuser">Isaac Muse</a>
<br><span class="md-footer-custom-text">emoji provided free by </span><a href="http://www.emojione.com">EmojiOne</a>
Copyright &copy; 2014 - 2019 <a href="https://github.com/facelessuser">Isaac Muse</a>
<br><span class="md-footer-custom-text">emoji provided free by <a href="http://www.emojione.com">EmojiOne</a></span>
docs_dir: docs/src/markdown
theme:
Expand Down Expand Up @@ -86,6 +86,6 @@ extra:
- type: github
link: https://github.com/facelessuser
extra_css:
- extra-83f68d2c59.css
- extra-30d8e6755c.css
extra_javascript:
- extra-0b9b22dd13.js
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tox]
skipsdist=true
envlist=
{py34,py35,py36,py37,py38},
py34,py35,py36,py37,py38,
lint

[testenv]
Expand All @@ -28,7 +28,7 @@ commands=
{envbindir}/pyspelling

[flake8]
exclude=build/*,.tox/*
exclude=build/*,.tox/*,wcmatch/pep562.py
max-line-length=120
ignore=D202,D203,D401,N802,N801,N803,N806,E741,W504

Expand Down
2 changes: 1 addition & 1 deletion wcmatch/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
IN THE SOFTWARE.
"""
from pep562 import Pep562
from .pep562 import Pep562
import sys
import warnings
from .__meta__ import __version_info__, __version__
Expand Down
2 changes: 1 addition & 1 deletion wcmatch/__meta__.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,5 +186,5 @@ def parse_version(ver, pre=False):
return Version(major, minor, micro, release, pre, post, dev)


__version_info__ = Version(2, 1, 0, ".dev")
__version_info__ = Version(2, 1, 0, "final")
__version__ = __version_info__._get_canonical()
Loading

0 comments on commit 47e243b

Please sign in to comment.