Skip to content

Commit

Permalink
Normalize all the line endings
Browse files Browse the repository at this point in the history
  • Loading branch information
skirpichev committed Nov 29, 2018
1 parent 018c4e3 commit b6d3836
Show file tree
Hide file tree
Showing 36 changed files with 4,128 additions and 4,123 deletions.
5 changes: 5 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
* text=auto
*.py text
*.rst text
*.cfg text
*.yml text
42 changes: 21 additions & 21 deletions conftest.py
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)
14 changes: 7 additions & 7 deletions docs/api/matchpy.expressions.constraints.rst
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:
14 changes: 7 additions & 7 deletions docs/api/matchpy.expressions.expressions.rst
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:
14 changes: 7 additions & 7 deletions docs/api/matchpy.expressions.functions.rst
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:
24 changes: 12 additions & 12 deletions docs/api/matchpy.expressions.rst
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
14 changes: 7 additions & 7 deletions docs/api/matchpy.expressions.substitution.rst
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:
14 changes: 7 additions & 7 deletions docs/api/matchpy.functions.rst
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:
14 changes: 7 additions & 7 deletions docs/api/matchpy.matching.bipartite.rst
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:
14 changes: 7 additions & 7 deletions docs/api/matchpy.matching.many_to_one.rst
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:
14 changes: 7 additions & 7 deletions docs/api/matchpy.matching.one_to_one.rst
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:
22 changes: 11 additions & 11 deletions docs/api/matchpy.matching.rst
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
14 changes: 7 additions & 7 deletions docs/api/matchpy.matching.syntactic.rst
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:
36 changes: 18 additions & 18 deletions docs/api/matchpy.rst
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
14 changes: 7 additions & 7 deletions docs/api/matchpy.utils.rst
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:
Loading

0 comments on commit b6d3836

Please sign in to comment.