ethspecify 0.3.8__tar.gz → 0.3.9__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ethspecify
3
- Version: 0.3.8
3
+ Version: 0.3.9
4
4
  Summary: A utility for processing Ethereum specification tags.
5
5
  Home-page: https://github.com/jtraglia/ethspecify
6
6
  Author: Justin Traglia
@@ -1656,8 +1656,8 @@ def run_checks(project_dir, config):
1656
1656
  source_root = os.path.join(project_dir, search_root_rel) if not os.path.isabs(search_root_rel) else search_root_rel
1657
1657
  source_root = os.path.abspath(source_root)
1658
1658
  else:
1659
- # Default behavior: project directory itself
1660
- source_root = project_dir
1659
+ # Default behavior: if we're in a specrefs directory, search in the parent directory
1660
+ source_root = os.path.dirname(project_dir) if os.path.basename(project_dir) == 'specrefs' else project_dir
1661
1661
 
1662
1662
  valid_count, total_count, source_errors = check_source_files(yaml_path, source_root, [])
1663
1663
 
@@ -1717,8 +1717,8 @@ def run_checks(project_dir, config):
1717
1717
  source_root = os.path.join(project_dir, search_root_rel) if not os.path.isabs(search_root_rel) else search_root_rel
1718
1718
  source_root = os.path.abspath(source_root)
1719
1719
  else:
1720
- # Default behavior: project directory itself
1721
- source_root = project_dir
1720
+ # Default behavior: if we're in a specrefs directory, search in the parent directory
1721
+ source_root = os.path.dirname(project_dir) if os.path.basename(project_dir) == 'specrefs' else project_dir
1722
1722
 
1723
1723
  valid_count, total_count, source_errors = check_source_files(yaml_path, source_root, all_exceptions)
1724
1724
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ethspecify
3
- Version: 0.3.8
3
+ Version: 0.3.9
4
4
  Summary: A utility for processing Ethereum specification tags.
5
5
  Home-page: https://github.com/jtraglia/ethspecify
6
6
  Author: Justin Traglia
@@ -8,7 +8,7 @@ long_description = (this_directory / "README.md").read_text(encoding="utf-8")
8
8
 
9
9
  setup(
10
10
  name="ethspecify",
11
- version="0.3.8",
11
+ version="0.3.9",
12
12
  description="A utility for processing Ethereum specification tags.",
13
13
  long_description=long_description,
14
14
  long_description_content_type="text/markdown",
File without changes
File without changes
File without changes
File without changes