encommon 0.20.3__py3-none-any.whl → 0.20.5__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
encommon/colors/color.py CHANGED
@@ -192,7 +192,8 @@ class Color:
192
192
  if isinstance(other, str):
193
193
  other = Color(other)
194
194
 
195
- assert hasattr(other, 'source')
195
+ assert hasattr(
196
+ other, 'source')
196
197
 
197
198
  source = self.__source
198
199
  _source = other.source
@@ -237,7 +238,8 @@ class Color:
237
238
  if isinstance(other, str):
238
239
  other = Color(other)
239
240
 
240
- assert hasattr(other, 'source')
241
+ assert hasattr(
242
+ other, 'source')
241
243
 
242
244
  source = self.__source
243
245
  _source = other.source
@@ -268,7 +270,8 @@ class Color:
268
270
  if isinstance(other, str):
269
271
  other = Color(other)
270
272
 
271
- assert hasattr(other, 'source')
273
+ assert hasattr(
274
+ other, 'source')
272
275
 
273
276
  source = self.__source
274
277
  _source = other.source
@@ -299,7 +302,8 @@ class Color:
299
302
  if isinstance(other, str):
300
303
  other = Color(other)
301
304
 
302
- assert hasattr(other, 'source')
305
+ assert hasattr(
306
+ other, 'source')
303
307
 
304
308
  source = self.__source
305
309
  _source = other.source
@@ -330,7 +334,8 @@ class Color:
330
334
  if isinstance(other, str):
331
335
  other = Color(other)
332
336
 
333
- assert hasattr(other, 'source')
337
+ assert hasattr(
338
+ other, 'source')
334
339
 
335
340
  source = self.__source
336
341
  _source = other.source
@@ -45,7 +45,7 @@ def test_Color() -> None:
45
45
 
46
46
  assert color == '000001'
47
47
  assert color != '000000'
48
- assert color != int
48
+ assert color != int # noqa
49
49
 
50
50
  assert color > 0
51
51
  assert color >= 1
encommon/version.txt CHANGED
@@ -1 +1 @@
1
- 0.20.3
1
+ 0.20.5
@@ -1,8 +1,10 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: encommon
3
- Version: 0.20.3
3
+ Version: 0.20.5
4
4
  Summary: Enasis Network Common Library
5
5
  License: MIT
6
+ Project-URL: Source, https://github.com/enasisnetwork/encommon
7
+ Project-URL: Documentation, https://enasisnetwork.github.io/encommon/sphinx
6
8
  Classifier: Programming Language :: Python :: 3
7
9
  Classifier: Programming Language :: Python :: 3.11
8
10
  Classifier: Programming Language :: Python :: 3.12
@@ -28,6 +30,7 @@ Common classes and functions used in various public and private projects.
28
30
  <a href="https://pypi.org/project/encommon"><img src="https://enasisnetwork.github.io/encommon/badges/pypi.png"></a><br>
29
31
  <a href="https://enasisnetwork.github.io/encommon/validate/flake8.txt"><img src="https://enasisnetwork.github.io/encommon/badges/flake8.png"></a><br>
30
32
  <a href="https://enasisnetwork.github.io/encommon/validate/pylint.txt"><img src="https://enasisnetwork.github.io/encommon/badges/pylint.png"></a><br>
33
+ <a href="https://enasisnetwork.github.io/encommon/validate/ruff.txt"><img src="https://enasisnetwork.github.io/encommon/badges/ruff.png"></a><br>
31
34
  <a href="https://enasisnetwork.github.io/encommon/validate/mypy.txt"><img src="https://enasisnetwork.github.io/encommon/badges/mypy.png"></a><br>
32
35
  <a href="https://enasisnetwork.github.io/encommon/validate/yamllint.txt"><img src="https://enasisnetwork.github.io/encommon/badges/yamllint.png"></a><br>
33
36
  <a href="https://enasisnetwork.github.io/encommon/validate/pytest.txt"><img src="https://enasisnetwork.github.io/encommon/badges/pytest.png"></a><br>
@@ -1,11 +1,11 @@
1
1
  encommon/__init__.py,sha256=YDGzuhpk5Gd1hq54LI0hw1NrrDvrJDrvH20TEy_0l5E,443
2
2
  encommon/conftest.py,sha256=I7Zl2cMytnA-mwSPh0rRjsU0YSlES94jQq6mocRhVUE,1884
3
3
  encommon/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
- encommon/version.txt,sha256=OhMXg-30Z-NPuvoITHlP5MlG8IXuP47nOZzh7xaujyY,7
4
+ encommon/version.txt,sha256=zAFOylcqU7YquFNYPks2kOCmdCQzNW6Hu0iuhZa8Iec,7
5
5
  encommon/colors/__init__.py,sha256=XRiGimMj8oo040NO5a5ZsbsIUxaGVW4tf4xWTPWgnZY,269
6
- encommon/colors/color.py,sha256=zw8Qt6trXUg4rdQ7Yzk3TVSpfdE5G99WKvLBVrx36UQ,10834
6
+ encommon/colors/color.py,sha256=rDWWL5oMx2SVSBEuRYX43u71nzMhMTZipXAHmEXwAjQ,10919
7
7
  encommon/colors/test/__init__.py,sha256=PjrnBYT0efyvbaGeNx94dm3tP3EVHUHSVs-VGeLEv5g,218
8
- encommon/colors/test/test_color.py,sha256=tFpPJoduaexLdruV7llvwdEt5EWiMBktTmmUgTqwjYE,4588
8
+ encommon/colors/test/test_color.py,sha256=ljAcVJ_DMeDcL_8cG05-uvxu_jErylUf3RDaswpn9-g,4596
9
9
  encommon/config/__init__.py,sha256=iZdbW7A4m7iN4xt5cEeQqo0Klqs-CaPLdD5ocLmUYi8,856
10
10
  encommon/config/config.py,sha256=dgJD9Ftj7i309ZBecbILcNGW2WALKdIjDnwa9WoggyM,7000
11
11
  encommon/config/files.py,sha256=dSuShvIbQXFiNmpkwNVHCKDI-phBWC03OJVUfKJnfX0,2433
@@ -83,8 +83,8 @@ encommon/utils/test/test_match.py,sha256=QagKpTFdRo23-Y55fSaJrSMpt5jIebScKbz0h8t
83
83
  encommon/utils/test/test_paths.py,sha256=4AzIhQyYFEWhRWHgOZCCzomQ3Zs3EVwRnDQDa6Nq1Mc,1942
84
84
  encommon/utils/test/test_sample.py,sha256=Qf-W0XbjTe5PfG87sdVizL2ymUPRTdX0qQtLGHaTgx8,3539
85
85
  encommon/utils/test/test_stdout.py,sha256=fYiqEaUraD-3hFQYLxMPR4Ti_8CbTjEc8WvReXUA884,6139
86
- encommon-0.20.3.dist-info/LICENSE,sha256=otnXKCtMjPlbHs0wgZ_BWULrp3g_2dWQJ6icRk9nkgg,1071
87
- encommon-0.20.3.dist-info/METADATA,sha256=jo2F2qligpO-a9BL5HW79p_297yhkXCm1TpPpbCcLOM,3997
88
- encommon-0.20.3.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
89
- encommon-0.20.3.dist-info/top_level.txt,sha256=bP8q7-5tLDNm-3XPlqn_bDENfYNug5801H_xfz3BEAM,9
90
- encommon-0.20.3.dist-info/RECORD,,
86
+ encommon-0.20.5.dist-info/LICENSE,sha256=otnXKCtMjPlbHs0wgZ_BWULrp3g_2dWQJ6icRk9nkgg,1071
87
+ encommon-0.20.5.dist-info/METADATA,sha256=2OO8NLbJBybg5k6gAmoclYc4XbzzDSFhdxmPzYnLAAE,4282
88
+ encommon-0.20.5.dist-info/WHEEL,sha256=OVMc5UfuAQiSplgO0_WdW7vXVGAt9Hdd6qtN4HotdyA,91
89
+ encommon-0.20.5.dist-info/top_level.txt,sha256=bP8q7-5tLDNm-3XPlqn_bDENfYNug5801H_xfz3BEAM,9
90
+ encommon-0.20.5.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.1.0)
2
+ Generator: setuptools (75.2.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5