File tree Expand file tree Collapse file tree 12 files changed +120
-11
lines changed Expand file tree Collapse file tree 12 files changed +120
-11
lines changed Original file line number Diff line number Diff line change 1
1
[bumpversion]
2
- current_version = 0.3.1
2
+ current_version = 0.3.2
3
3
commit = True
4
4
tag = True
5
5
Original file line number Diff line number Diff line change @@ -25,6 +25,8 @@ wheels/
25
25
* .egg-info /
26
26
.installed.cfg
27
27
* .egg
28
+ * .egg *
29
+
28
30
MANIFEST
29
31
30
32
# PyInstaller
@@ -48,6 +50,8 @@ coverage.xml
48
50
* .cover
49
51
.hypothesis /
50
52
.pytest_cache /
53
+ cover /
54
+ .coverage *
51
55
52
56
# Translations
53
57
* .mo
@@ -67,6 +71,7 @@ instance/
67
71
68
72
# Sphinx documentation
69
73
docs /_build /
74
+ doc /build
70
75
71
76
# PyBuilder
72
77
target /
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ domdf_python_tools
36
36
:target: https://github.com/domdfcoding/domdf_python_tools/blob/master/LICENSE
37
37
.. image :: https://img.shields.io/github/languages/top/domdfcoding/domdf_python_tools
38
38
:alt: GitHub top language
39
- .. image :: https://img.shields.io/github/commits-since/domdfcoding/domdf_python_tools/v0.3.1
39
+ .. image :: https://img.shields.io/github/commits-since/domdfcoding/domdf_python_tools/v0.3.2
40
40
:target: https://github.com/domdfcoding/domdf_python_tools/pulse
41
41
:alt: GitHub commits since tagged version
42
42
.. image :: https://img.shields.io/github/last-commit/domdfcoding/domdf_python_tools
Original file line number Diff line number Diff line change 46
46
2019-2020 Dominic Davis-Foster <[email protected] >
47
47
"""
48
48
49
- __version__ = "0.3.1 "
49
+ __version__ = "0.3.2 "
50
50
51
51
modname = "domdf_python_tools"
52
52
pypi_name = "domdf_python_tools"
73
73
repo_root = pathlib .Path (__file__ ).parent
74
74
75
75
# Get info from files; set: long_description
76
- long_description = (repo_root / "README.rst" ).read_text ().replace ("0.3.1 " , __version__ ) + '\n '
76
+ long_description = (repo_root / "README.rst" ).read_text ().replace ("0.3.2 " , __version__ ) + '\n '
77
77
conda_description = """Helpful functions for Python
78
78
79
79
Original file line number Diff line number Diff line change 1
1
.wy-nav-content {
2
2
max-width : 900px !important ;
3
- }
3
+ }
4
+
5
+ li p : last-child { margin-bottom : 12px !important ;}
Original file line number Diff line number Diff line change 29
29
release = version = __version__
30
30
copyright = "Copyright 2019-2020 Dominic Davis-Foster"
31
31
language = 'en'
32
+ package_root = "domdf_python_tools"
32
33
33
34
extensions = [
34
35
'sphinx.ext.intersphinx' ,
35
36
'sphinx.ext.autodoc' ,
36
37
'sphinx.ext.mathjax' ,
37
38
'sphinx.ext.viewcode' ,
38
39
'sphinxcontrib.httpdomain' ,
40
+ "sphinxcontrib.extras_require" ,
41
+ "sphinx.ext.todo" ,
42
+ "sphinxemoji.sphinxemojii" ,
39
43
40
44
]
41
45
46
+ sphinxemoji_style = 'twemoji'
47
+ todo_include_todos = bool (os .environ .get ("SHOW_TODOS" , False ))
48
+
42
49
templates_path = ['_templates' ]
43
50
html_static_path = ['_static' ]
44
51
source_suffix = '.rst'
Original file line number Diff line number Diff line change 4
4
5
5
.. contents :: Table of Contents
6
6
7
+
7
8
.. warning :: This module has not been fully tested. Use with caution.
8
9
9
10
.. note :: This module requires the `pytz <https://pypi.org/project/pytz/>`_ package to be installed.
Original file line number Diff line number Diff line change
1
+ extras_require
1
2
pytz >= 2019.1
2
3
sphinx
3
4
sphinx_rtd_theme
4
5
sphinxcontrib-httpdomain
6
+ sphinxemoji
Original file line number Diff line number Diff line change 57
57
__copyright__ = "2014-2020 Dominic Davis-Foster"
58
58
59
59
__license__ = "LGPLv3+"
60
- __version__ = "0.3.1 "
60
+ __version__ = "0.3.2 "
61
61
Original file line number Diff line number Diff line change @@ -47,28 +47,29 @@ def __str__(self):
47
47
return self .__repr__ ()
48
48
49
49
def __iter__ (self ):
50
- for key , value in self .__dict__ () .items ():
50
+ for key , value in self .__dict__ .items ():
51
51
yield key , value
52
52
53
53
def __getstate__ (self ):
54
- return self .__dict__ ()
54
+ return self .__dict__
55
55
56
56
def __setstate__ (self , state ):
57
57
self .__init__ (** state )
58
58
59
59
def __copy__ (self ):
60
- return self .__class__ (** self .__dict__ () )
60
+ return self .__class__ (** self .__dict__ )
61
61
62
62
def __deepcopy__ (self , memodict = {}):
63
63
return self .__copy__ ()
64
64
65
+ @property
65
66
@abstractmethod
66
67
def __dict__ (self ):
67
68
return dict ()
68
69
69
70
def __eq__ (self , other ):
70
71
if isinstance (other , self .__class__ ):
71
- return pydash .predicates .is_match (other .__dict__ () , self .__dict__ () )
72
+ return pydash .predicates .is_match (other .__dict__ , self .__dict__ )
72
73
73
74
return NotImplemented
74
75
You can’t perform that action at this time.
0 commit comments