-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #44 from skirpichev/normalize-eol
Normalize line endings + misc changes
- Loading branch information
Showing
44 changed files
with
4,175 additions
and
4,158 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
* text=auto | ||
*.py text | ||
*.rst text | ||
*.cfg text | ||
*.yml text |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,21 @@ | ||
language: python | ||
dist: xenial | ||
python: | ||
- 3.6 | ||
- 3.7-dev | ||
- 3.7 | ||
stages: | ||
- quality | ||
- test | ||
matrix: | ||
include: | ||
- stage: quality | ||
python: 3.6 | ||
script: | ||
- make check | ||
install: | ||
- pip install .[tests,develop] | ||
- make init | ||
script: | ||
- make doctest | ||
- make coverage | ||
after_success: | ||
coveralls |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
# -*- coding: utf-8 -*- | ||
import pytest | ||
|
||
from matchpy.expressions.expressions import Operation, Symbol, Arity, Wildcard, make_dot_variable, make_star_variable, make_plus_variable | ||
import matchpy | ||
|
||
@pytest.fixture(autouse=True) | ||
def add_default_expressions(doctest_namespace): | ||
doctest_namespace['f'] = Operation.new('f', Arity.variadic) | ||
doctest_namespace['a'] = Symbol('a') | ||
doctest_namespace['b'] = Symbol('b') | ||
doctest_namespace['c'] = Symbol('c') | ||
doctest_namespace['x_'] = make_dot_variable('x') | ||
doctest_namespace['y_'] = make_dot_variable('y') | ||
doctest_namespace['_'] = Wildcard.dot() | ||
doctest_namespace['__'] = Wildcard.plus() | ||
doctest_namespace['___'] = Wildcard.star() | ||
doctest_namespace['__name__'] = '__main__' | ||
|
||
for name in matchpy.__all__: | ||
doctest_namespace[name] = getattr(matchpy, name) | ||
# -*- coding: utf-8 -*- | ||
import pytest | ||
|
||
from matchpy.expressions.expressions import Operation, Symbol, Arity, Wildcard, make_dot_variable, make_star_variable, make_plus_variable | ||
import matchpy | ||
|
||
@pytest.fixture(autouse=True) | ||
def add_default_expressions(doctest_namespace): | ||
doctest_namespace['f'] = Operation.new('f', Arity.variadic) | ||
doctest_namespace['a'] = Symbol('a') | ||
doctest_namespace['b'] = Symbol('b') | ||
doctest_namespace['c'] = Symbol('c') | ||
doctest_namespace['x_'] = make_dot_variable('x') | ||
doctest_namespace['y_'] = make_dot_variable('y') | ||
doctest_namespace['_'] = Wildcard.dot() | ||
doctest_namespace['__'] = Wildcard.plus() | ||
doctest_namespace['___'] = Wildcard.star() | ||
doctest_namespace['__name__'] = '__main__' | ||
|
||
for name in matchpy.__all__: | ||
doctest_namespace[name] = getattr(matchpy, name) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
matchpy.expressions.constraints module | ||
====================================== | ||
|
||
.. automodule:: matchpy.expressions.constraints | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
matchpy.expressions.constraints module | ||
====================================== | ||
|
||
.. automodule:: matchpy.expressions.constraints | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
matchpy.expressions.expressions module | ||
====================================== | ||
|
||
.. automodule:: matchpy.expressions.expressions | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
matchpy.expressions.expressions module | ||
====================================== | ||
|
||
.. automodule:: matchpy.expressions.expressions | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
matchpy.expressions.functions module | ||
==================================== | ||
|
||
.. automodule:: matchpy.expressions.functions | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
matchpy.expressions.functions module | ||
==================================== | ||
|
||
.. automodule:: matchpy.expressions.functions | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
matchpy.expressions package | ||
=========================== | ||
|
||
Submodules | ||
---------- | ||
|
||
.. toctree:: | ||
|
||
matchpy.expressions.constraints | ||
matchpy.expressions.expressions | ||
matchpy.expressions.functions | ||
matchpy.expressions.substitution | ||
matchpy.expressions package | ||
=========================== | ||
|
||
Submodules | ||
---------- | ||
|
||
.. toctree:: | ||
|
||
matchpy.expressions.constraints | ||
matchpy.expressions.expressions | ||
matchpy.expressions.functions | ||
matchpy.expressions.substitution |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
matchpy.expressions.substitution module | ||
======================================= | ||
|
||
.. automodule:: matchpy.expressions.substitution | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
matchpy.expressions.substitution module | ||
======================================= | ||
|
||
.. automodule:: matchpy.expressions.substitution | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
matchpy.functions module | ||
======================== | ||
|
||
.. automodule:: matchpy.functions | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
matchpy.functions module | ||
======================== | ||
|
||
.. automodule:: matchpy.functions | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
matchpy.matching.bipartite module | ||
================================= | ||
|
||
.. automodule:: matchpy.matching.bipartite | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
matchpy.matching.bipartite module | ||
================================= | ||
|
||
.. automodule:: matchpy.matching.bipartite | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
matchpy.matching.many_to_one module | ||
=================================== | ||
|
||
.. automodule:: matchpy.matching.many_to_one | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
matchpy.matching.many_to_one module | ||
=================================== | ||
|
||
.. automodule:: matchpy.matching.many_to_one | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
matchpy.matching.one_to_one module | ||
================================== | ||
|
||
.. automodule:: matchpy.matching.one_to_one | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
matchpy.matching.one_to_one module | ||
================================== | ||
|
||
.. automodule:: matchpy.matching.one_to_one | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
matchpy.matching package | ||
======================== | ||
|
||
Submodules | ||
---------- | ||
|
||
.. toctree:: | ||
|
||
matchpy.matching.bipartite | ||
matchpy.matching.many_to_one | ||
matchpy.matching.one_to_one | ||
matchpy.matching package | ||
======================== | ||
|
||
Submodules | ||
---------- | ||
|
||
.. toctree:: | ||
|
||
matchpy.matching.bipartite | ||
matchpy.matching.many_to_one | ||
matchpy.matching.one_to_one | ||
matchpy.matching.syntactic |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
matchpy.matching.syntactic module | ||
================================= | ||
|
||
.. automodule:: matchpy.matching.syntactic | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
matchpy.matching.syntactic module | ||
================================= | ||
|
||
.. automodule:: matchpy.matching.syntactic | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
matchpy package | ||
=============== | ||
|
||
Subpackages | ||
----------- | ||
|
||
.. toctree:: | ||
|
||
matchpy.expressions | ||
matchpy.matching | ||
|
||
Submodules | ||
---------- | ||
|
||
.. toctree:: | ||
|
||
matchpy.functions | ||
matchpy.utils | ||
matchpy package | ||
=============== | ||
|
||
Subpackages | ||
----------- | ||
|
||
.. toctree:: | ||
|
||
matchpy.expressions | ||
matchpy.matching | ||
|
||
Submodules | ||
---------- | ||
|
||
.. toctree:: | ||
|
||
matchpy.functions | ||
matchpy.utils |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
matchpy.utils module | ||
==================== | ||
|
||
.. automodule:: matchpy.utils | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
matchpy.utils module | ||
==================== | ||
|
||
.. automodule:: matchpy.utils | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.