eido 0.2.4__tar.gz → 0.2.5__tar.gz

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.
Files changed (32) hide show
  1. {eido-0.2.4/eido.egg-info → eido-0.2.5}/PKG-INFO +13 -3
  2. eido-0.2.5/eido/_version.py +1 -0
  3. {eido-0.2.4 → eido-0.2.5}/eido/conversion.py +1 -2
  4. {eido-0.2.4 → eido-0.2.5}/eido/conversion_plugins.py +1 -1
  5. {eido-0.2.4 → eido-0.2.5}/eido/exceptions.py +1 -1
  6. {eido-0.2.4 → eido-0.2.5}/eido/validation.py +5 -5
  7. {eido-0.2.4 → eido-0.2.5/eido.egg-info}/PKG-INFO +13 -3
  8. {eido-0.2.4 → eido-0.2.5}/eido.egg-info/requires.txt +1 -1
  9. {eido-0.2.4 → eido-0.2.5}/requirements/requirements-all.txt +1 -1
  10. eido-0.2.4/eido/_version.py +0 -1
  11. {eido-0.2.4 → eido-0.2.5}/LICENSE.txt +0 -0
  12. {eido-0.2.4 → eido-0.2.5}/MANIFEST.in +0 -0
  13. {eido-0.2.4 → eido-0.2.5}/README.md +0 -0
  14. {eido-0.2.4 → eido-0.2.5}/eido/__init__.py +0 -0
  15. {eido-0.2.4 → eido-0.2.5}/eido/__main__.py +0 -0
  16. {eido-0.2.4 → eido-0.2.5}/eido/argparser.py +0 -0
  17. {eido-0.2.4 → eido-0.2.5}/eido/cli.py +0 -0
  18. {eido-0.2.4 → eido-0.2.5}/eido/const.py +0 -0
  19. {eido-0.2.4 → eido-0.2.5}/eido/inspection.py +0 -0
  20. {eido-0.2.4 → eido-0.2.5}/eido/output_formatters.py +0 -0
  21. {eido-0.2.4 → eido-0.2.5}/eido/schema.py +0 -0
  22. {eido-0.2.4 → eido-0.2.5}/eido.egg-info/SOURCES.txt +0 -0
  23. {eido-0.2.4 → eido-0.2.5}/eido.egg-info/dependency_links.txt +0 -0
  24. {eido-0.2.4 → eido-0.2.5}/eido.egg-info/entry_points.txt +0 -0
  25. {eido-0.2.4 → eido-0.2.5}/eido.egg-info/top_level.txt +0 -0
  26. {eido-0.2.4 → eido-0.2.5}/requirements/requirements-doc.txt +0 -0
  27. {eido-0.2.4 → eido-0.2.5}/requirements/requirements-test.txt +0 -0
  28. {eido-0.2.4 → eido-0.2.5}/setup.cfg +0 -0
  29. {eido-0.2.4 → eido-0.2.5}/setup.py +0 -0
  30. {eido-0.2.4 → eido-0.2.5}/tests/test_conversions.py +0 -0
  31. {eido-0.2.4 → eido-0.2.5}/tests/test_schema_operations.py +0 -0
  32. {eido-0.2.4 → eido-0.2.5}/tests/test_validations.py +0 -0
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: eido
3
- Version: 0.2.4
3
+ Version: 0.2.5
4
4
  Summary: A project metadata validator
5
5
  Home-page: https://github.com/pepkit/eido/
6
6
  Author: Michal Stolarczyk, Nathan Sheffield
@@ -18,9 +18,19 @@ License-File: LICENSE.txt
18
18
  Requires-Dist: importlib-metadata; python_version < "3.10"
19
19
  Requires-Dist: jsonschema>=3.0.1
20
20
  Requires-Dist: logmuse>=0.2.5
21
- Requires-Dist: pandas
21
+ Requires-Dist: pandas<3.0.0
22
22
  Requires-Dist: peppy>=0.40.7
23
23
  Requires-Dist: ubiquerg>=0.5.2
24
+ Dynamic: author
25
+ Dynamic: classifier
26
+ Dynamic: description
27
+ Dynamic: description-content-type
28
+ Dynamic: home-page
29
+ Dynamic: keywords
30
+ Dynamic: license
31
+ Dynamic: license-file
32
+ Dynamic: requires-dist
33
+ Dynamic: summary
24
34
 
25
35
  # <img src="docs/img/eido.svg" alt="eido logo" height="70">
26
36
 
@@ -0,0 +1 @@
1
+ __version__ = "0.2.5"
@@ -7,7 +7,6 @@ else:
7
7
  import inspect
8
8
  from logging import getLogger
9
9
  import os
10
- from typing import NoReturn
11
10
 
12
11
  from .exceptions import *
13
12
 
@@ -107,7 +106,7 @@ def run_filter(prj, filter_name, verbose=True, plugin_kwargs=None):
107
106
  return conv_result
108
107
 
109
108
 
110
- def save_result(result_path: str, content: str) -> NoReturn:
109
+ def save_result(result_path: str, content: str) -> None:
111
110
  with open(result_path, "w") as f:
112
111
  f.write(content)
113
112
 
@@ -1,4 +1,4 @@
1
- """ built-in PEP filters """
1
+ """built-in PEP filters"""
2
2
 
3
3
  from typing import Dict
4
4
  from .output_formatters import MultilineOutputFormatter
@@ -1,4 +1,4 @@
1
- """ Exceptions for specific eido issues. """
1
+ """Exceptions for specific eido issues."""
2
2
 
3
3
  from abc import ABCMeta
4
4
 
@@ -1,5 +1,5 @@
1
1
  import os
2
- from typing import NoReturn, Mapping, Union
2
+ from typing import Mapping, Union
3
3
  from copy import deepcopy as dpcpy
4
4
  from logging import getLogger
5
5
 
@@ -60,7 +60,7 @@ def _validate_object(obj: Mapping, schema: Union[str, dict], sample_name_colname
60
60
  _LOGGER.debug("Validation was successful...")
61
61
 
62
62
 
63
- def validate_project(project: peppy.Project, schema: Union[str, dict]) -> NoReturn:
63
+ def validate_project(project: peppy.Project, schema: Union[str, dict]) -> None:
64
64
  """
65
65
  Validate a project object against a schema
66
66
 
@@ -68,7 +68,7 @@ def validate_project(project: peppy.Project, schema: Union[str, dict]) -> NoRetu
68
68
  :param str | dict schema: schema dict to validate against or a path to one
69
69
  from the error. Useful when used ith large projects
70
70
 
71
- :return: NoReturn
71
+ :return: None
72
72
  :raises EidoValidationError: if validation is unsuccessful
73
73
  """
74
74
  sample_name_colname = project.sample_name_colname
@@ -100,7 +100,7 @@ def _validate_sample_object(sample: peppy.Sample, schemas):
100
100
 
101
101
  def validate_sample(
102
102
  project: peppy.Project, sample_name: Union[str, int], schema: Union[str, dict]
103
- ) -> NoReturn:
103
+ ) -> None:
104
104
  """
105
105
  Validate the selected sample object against a schema
106
106
 
@@ -123,7 +123,7 @@ def validate_sample(
123
123
 
124
124
  def validate_config(
125
125
  project: Union[peppy.Project, dict], schema: Union[str, dict]
126
- ) -> NoReturn:
126
+ ) -> None:
127
127
  """
128
128
  Validate the config part of the Project object against a schema
129
129
 
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: eido
3
- Version: 0.2.4
3
+ Version: 0.2.5
4
4
  Summary: A project metadata validator
5
5
  Home-page: https://github.com/pepkit/eido/
6
6
  Author: Michal Stolarczyk, Nathan Sheffield
@@ -18,9 +18,19 @@ License-File: LICENSE.txt
18
18
  Requires-Dist: importlib-metadata; python_version < "3.10"
19
19
  Requires-Dist: jsonschema>=3.0.1
20
20
  Requires-Dist: logmuse>=0.2.5
21
- Requires-Dist: pandas
21
+ Requires-Dist: pandas<3.0.0
22
22
  Requires-Dist: peppy>=0.40.7
23
23
  Requires-Dist: ubiquerg>=0.5.2
24
+ Dynamic: author
25
+ Dynamic: classifier
26
+ Dynamic: description
27
+ Dynamic: description-content-type
28
+ Dynamic: home-page
29
+ Dynamic: keywords
30
+ Dynamic: license
31
+ Dynamic: license-file
32
+ Dynamic: requires-dist
33
+ Dynamic: summary
24
34
 
25
35
  # <img src="docs/img/eido.svg" alt="eido logo" height="70">
26
36
 
@@ -1,6 +1,6 @@
1
1
  jsonschema>=3.0.1
2
2
  logmuse>=0.2.5
3
- pandas
3
+ pandas<3.0.0
4
4
  peppy>=0.40.7
5
5
  ubiquerg>=0.5.2
6
6
 
@@ -1,6 +1,6 @@
1
1
  importlib-metadata; python_version < '3.10'
2
2
  jsonschema>=3.0.1
3
3
  logmuse>=0.2.5
4
- pandas
4
+ pandas<3.0.0
5
5
  peppy>=0.40.7
6
6
  ubiquerg>=0.5.2
@@ -1 +0,0 @@
1
- __version__ = "0.2.4"
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes