wexample-filestate-python 9.3.0__tar.gz → 9.4.0__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.
- {wexample_filestate_python-9.3.0 → wexample_filestate_python-9.4.0}/PKG-INFO +3 -3
- {wexample_filestate_python-9.3.0 → wexample_filestate_python-9.4.0}/README.md +1 -1
- {wexample_filestate_python-9.3.0 → wexample_filestate_python-9.4.0}/pyproject.toml +2 -2
- {wexample_filestate_python-9.3.0 → wexample_filestate_python-9.4.0}/src/wexample_filestate_python/option/python_option.py +5 -0
- {wexample_filestate_python-9.3.0 → wexample_filestate_python-9.4.0}/src/wexample_filestate_python/__init__.py +0 -0
- {wexample_filestate_python-9.3.0 → wexample_filestate_python-9.4.0}/src/wexample_filestate_python/common/__init__.py +0 -0
- {wexample_filestate_python-9.3.0 → wexample_filestate_python-9.4.0}/src/wexample_filestate_python/common/pipy_gateway.py +0 -0
- {wexample_filestate_python-9.3.0 → wexample_filestate_python-9.4.0}/src/wexample_filestate_python/config_option/__init__.py +0 -0
- {wexample_filestate_python-9.3.0 → wexample_filestate_python-9.4.0}/src/wexample_filestate_python/config_option/mixin/__init__.py +0 -0
- {wexample_filestate_python-9.3.0 → wexample_filestate_python-9.4.0}/src/wexample_filestate_python/config_option/mixin/with_stdout_wrapping_mixin.py +0 -0
- {wexample_filestate_python-9.3.0 → wexample_filestate_python-9.4.0}/src/wexample_filestate_python/config_value/__init__.py +0 -0
- {wexample_filestate_python-9.3.0 → wexample_filestate_python-9.4.0}/src/wexample_filestate_python/config_value/python_config_value.py +0 -0
- {wexample_filestate_python-9.3.0 → wexample_filestate_python-9.4.0}/src/wexample_filestate_python/const/__init__.py +0 -0
- {wexample_filestate_python-9.3.0 → wexample_filestate_python-9.4.0}/src/wexample_filestate_python/const/name_pattern.py +0 -0
- {wexample_filestate_python-9.3.0 → wexample_filestate_python-9.4.0}/src/wexample_filestate_python/const/path.py +0 -0
- {wexample_filestate_python-9.3.0 → wexample_filestate_python-9.4.0}/src/wexample_filestate_python/const/python_file.py +0 -0
- {wexample_filestate_python-9.3.0 → wexample_filestate_python-9.4.0}/src/wexample_filestate_python/event/__init__.py +0 -0
- {wexample_filestate_python-9.3.0 → wexample_filestate_python-9.4.0}/src/wexample_filestate_python/event/src/__init__.py +0 -0
- {wexample_filestate_python-9.3.0 → wexample_filestate_python-9.4.0}/src/wexample_filestate_python/event/src/wexample_event/__init__.py +0 -0
- {wexample_filestate_python-9.3.0 → wexample_filestate_python-9.4.0}/src/wexample_filestate_python/file/__init__.py +0 -0
- {wexample_filestate_python-9.3.0 → wexample_filestate_python-9.4.0}/src/wexample_filestate_python/file/python_file.py +0 -0
- {wexample_filestate_python-9.3.0 → wexample_filestate_python-9.4.0}/src/wexample_filestate_python/file/python_test_stub_file.py +0 -0
- {wexample_filestate_python-9.3.0 → wexample_filestate_python-9.4.0}/src/wexample_filestate_python/helper/__init__.py +0 -0
- {wexample_filestate_python-9.3.0 → wexample_filestate_python-9.4.0}/src/wexample_filestate_python/helper/package.py +0 -0
- {wexample_filestate_python-9.3.0 → wexample_filestate_python-9.4.0}/src/wexample_filestate_python/helper/python/__init__.py +0 -0
- {wexample_filestate_python-9.3.0 → wexample_filestate_python-9.4.0}/src/wexample_filestate_python/helper/toml.py +0 -0
- {wexample_filestate_python-9.3.0 → wexample_filestate_python-9.4.0}/src/wexample_filestate_python/option/__init__.py +0 -0
- {wexample_filestate_python-9.3.0 → wexample_filestate_python-9.4.0}/src/wexample_filestate_python/option/python/__init__.py +0 -0
- {wexample_filestate_python-9.3.0 → wexample_filestate_python-9.4.0}/src/wexample_filestate_python/option/python/abstract_python_file_content_option.py +0 -0
- {wexample_filestate_python-9.3.0 → wexample_filestate_python-9.4.0}/src/wexample_filestate_python/option/python/add_future_annotations_option.py +0 -0
- {wexample_filestate_python-9.3.0 → wexample_filestate_python-9.4.0}/src/wexample_filestate_python/option/python/add_return_types_option.py +0 -0
- {wexample_filestate_python-9.3.0 → wexample_filestate_python-9.4.0}/src/wexample_filestate_python/option/python/class_name_matches_file_name_option.py +0 -0
- {wexample_filestate_python-9.3.0 → wexample_filestate_python-9.4.0}/src/wexample_filestate_python/option/python/fix_attrs_option.py +0 -0
- {wexample_filestate_python-9.3.0 → wexample_filestate_python-9.4.0}/src/wexample_filestate_python/option/python/fix_blank_lines_option.py +0 -0
- {wexample_filestate_python-9.3.0 → wexample_filestate_python-9.4.0}/src/wexample_filestate_python/option/python/format_option.py +0 -0
- {wexample_filestate_python-9.3.0 → wexample_filestate_python-9.4.0}/src/wexample_filestate_python/option/python/fstringify_option.py +0 -0
- {wexample_filestate_python-9.3.0 → wexample_filestate_python-9.4.0}/src/wexample_filestate_python/option/python/modernize_typing_option.py +0 -0
- {wexample_filestate_python-9.3.0 → wexample_filestate_python-9.4.0}/src/wexample_filestate_python/option/python/order_class_attributes_option.py +0 -0
- {wexample_filestate_python-9.3.0 → wexample_filestate_python-9.4.0}/src/wexample_filestate_python/option/python/order_class_docstring_option.py +0 -0
- {wexample_filestate_python-9.3.0 → wexample_filestate_python-9.4.0}/src/wexample_filestate_python/option/python/order_class_methods_option.py +0 -0
- {wexample_filestate_python-9.3.0 → wexample_filestate_python-9.4.0}/src/wexample_filestate_python/option/python/order_constants_option.py +0 -0
- {wexample_filestate_python-9.3.0 → wexample_filestate_python-9.4.0}/src/wexample_filestate_python/option/python/order_iterable_items_option.py +0 -0
- {wexample_filestate_python-9.3.0 → wexample_filestate_python-9.4.0}/src/wexample_filestate_python/option/python/order_main_guard_option.py +0 -0
- {wexample_filestate_python-9.3.0 → wexample_filestate_python-9.4.0}/src/wexample_filestate_python/option/python/order_module_docstring_option.py +0 -0
- {wexample_filestate_python-9.3.0 → wexample_filestate_python-9.4.0}/src/wexample_filestate_python/option/python/order_module_functions_option.py +0 -0
- {wexample_filestate_python-9.3.0 → wexample_filestate_python-9.4.0}/src/wexample_filestate_python/option/python/order_module_metadata_option.py +0 -0
- {wexample_filestate_python-9.3.0 → wexample_filestate_python-9.4.0}/src/wexample_filestate_python/option/python/order_type_checking_block_option.py +0 -0
- {wexample_filestate_python-9.3.0 → wexample_filestate_python-9.4.0}/src/wexample_filestate_python/option/python/relocate_imports_option.py +0 -0
- {wexample_filestate_python-9.3.0 → wexample_filestate_python-9.4.0}/src/wexample_filestate_python/option/python/remove_unused_option.py +0 -0
- {wexample_filestate_python-9.3.0 → wexample_filestate_python-9.4.0}/src/wexample_filestate_python/option/python/sort_imports_option.py +0 -0
- {wexample_filestate_python-9.3.0 → wexample_filestate_python-9.4.0}/src/wexample_filestate_python/option/python/unquote_annotations_option.py +0 -0
- {wexample_filestate_python-9.3.0 → wexample_filestate_python-9.4.0}/src/wexample_filestate_python/options_provider/__init__.py +0 -0
- {wexample_filestate_python-9.3.0 → wexample_filestate_python-9.4.0}/src/wexample_filestate_python/options_provider/python_options_provider.py +0 -0
- {wexample_filestate_python-9.3.0 → wexample_filestate_python-9.4.0}/src/wexample_filestate_python/py.typed +0 -0
- {wexample_filestate_python-9.3.0 → wexample_filestate_python-9.4.0}/src/wexample_filestate_python/utils/__init__.py +0 -0
- {wexample_filestate_python-9.3.0 → wexample_filestate_python-9.4.0}/src/wexample_filestate_python/utils/cst_cache.py +0 -0
- {wexample_filestate_python-9.3.0 → wexample_filestate_python-9.4.0}/src/wexample_filestate_python/utils/python_attrs_utils.py +0 -0
- {wexample_filestate_python-9.3.0 → wexample_filestate_python-9.4.0}/src/wexample_filestate_python/utils/python_blank_lines_utils.py +0 -0
- {wexample_filestate_python-9.3.0 → wexample_filestate_python-9.4.0}/src/wexample_filestate_python/utils/python_class_attributes_utils.py +0 -0
- {wexample_filestate_python-9.3.0 → wexample_filestate_python-9.4.0}/src/wexample_filestate_python/utils/python_class_docstring_utils.py +0 -0
- {wexample_filestate_python-9.3.0 → wexample_filestate_python-9.4.0}/src/wexample_filestate_python/utils/python_class_methods_utils.py +0 -0
- {wexample_filestate_python-9.3.0 → wexample_filestate_python-9.4.0}/src/wexample_filestate_python/utils/python_constants_utils.py +0 -0
- {wexample_filestate_python-9.3.0 → wexample_filestate_python-9.4.0}/src/wexample_filestate_python/utils/python_docstring_utils.py +0 -0
- {wexample_filestate_python-9.3.0 → wexample_filestate_python-9.4.0}/src/wexample_filestate_python/utils/python_functions_utils.py +0 -0
- {wexample_filestate_python-9.3.0 → wexample_filestate_python-9.4.0}/src/wexample_filestate_python/utils/python_iterable_utils.py +0 -0
- {wexample_filestate_python-9.3.0 → wexample_filestate_python-9.4.0}/src/wexample_filestate_python/utils/python_main_guard_utils.py +0 -0
- {wexample_filestate_python-9.3.0 → wexample_filestate_python-9.4.0}/src/wexample_filestate_python/utils/python_module_metadata_utils.py +0 -0
- {wexample_filestate_python-9.3.0 → wexample_filestate_python-9.4.0}/src/wexample_filestate_python/utils/python_type_checking_utils.py +0 -0
- {wexample_filestate_python-9.3.0 → wexample_filestate_python-9.4.0}/src/wexample_filestate_python/utils/relocate_imports/__init__.py +0 -0
- {wexample_filestate_python-9.3.0 → wexample_filestate_python-9.4.0}/src/wexample_filestate_python/utils/relocate_imports/python_import_rewriter.py +0 -0
- {wexample_filestate_python-9.3.0 → wexample_filestate_python-9.4.0}/src/wexample_filestate_python/utils/relocate_imports/python_localize_runtime_imports.py +0 -0
- {wexample_filestate_python-9.3.0 → wexample_filestate_python-9.4.0}/src/wexample_filestate_python/utils/relocate_imports/python_parser_import_index.py +0 -0
- {wexample_filestate_python-9.3.0 → wexample_filestate_python-9.4.0}/src/wexample_filestate_python/utils/relocate_imports/python_runtime_symbol_collector.py +0 -0
- {wexample_filestate_python-9.3.0 → wexample_filestate_python-9.4.0}/src/wexample_filestate_python/utils/relocate_imports/python_usage_collector.py +0 -0
- {wexample_filestate_python-9.3.0 → wexample_filestate_python-9.4.0}/tests/.gitkeep +0 -0
- {wexample_filestate_python-9.3.0 → wexample_filestate_python-9.4.0}/tests/helper/__init__.py +0 -0
- {wexample_filestate_python-9.3.0 → wexample_filestate_python-9.4.0}/tests/helper/test_package.py +0 -0
- {wexample_filestate_python-9.3.0 → wexample_filestate_python-9.4.0}/tests/helper/test_toml.py +0 -0
- {wexample_filestate_python-9.3.0 → wexample_filestate_python-9.4.0}/tests/tests/__init__.py +0 -0
- {wexample_filestate_python-9.3.0 → wexample_filestate_python-9.4.0}/tests/unit/__init__.py +0 -0
- {wexample_filestate_python-9.3.0 → wexample_filestate_python-9.4.0}/tests/unit/helper/__init__.py +0 -0
- {wexample_filestate_python-9.3.0 → wexample_filestate_python-9.4.0}/tests/unit/helper/test_package.py +0 -0
- {wexample_filestate_python-9.3.0 → wexample_filestate_python-9.4.0}/tests/unit/helper/test_toml.py +0 -0
- {wexample_filestate_python-9.3.0 → wexample_filestate_python-9.4.0}/tests/unit/utils/__init__.py +0 -0
- {wexample_filestate_python-9.3.0 → wexample_filestate_python-9.4.0}/tests/unit/utils/test_python_iterable_utils.py +0 -0
- {wexample_filestate_python-9.3.0 → wexample_filestate_python-9.4.0}/tests/wexample_tests/__init__.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: wexample-filestate-python
|
|
3
|
-
Version: 9.
|
|
3
|
+
Version: 9.4.0
|
|
4
4
|
Summary: Extends wexample-filestate with Python file options: format, sort imports, modernize typing, and reorder class members.
|
|
5
5
|
Author-Email: weeger <contact@wexample.com>
|
|
6
6
|
License: MIT
|
|
@@ -20,7 +20,7 @@ Requires-Dist: packaging
|
|
|
20
20
|
Requires-Dist: ruff
|
|
21
21
|
Requires-Dist: tomli
|
|
22
22
|
Requires-Dist: wexample-api>=6.8.0
|
|
23
|
-
Requires-Dist: wexample-filestate>=18.
|
|
23
|
+
Requires-Dist: wexample-filestate>=18.1.0
|
|
24
24
|
Provides-Extra: dev
|
|
25
25
|
Requires-Dist: pytest; extra == "dev"
|
|
26
26
|
Requires-Dist: pytest-cov; extra == "dev"
|
|
@@ -28,7 +28,7 @@ Description-Content-Type: text/markdown
|
|
|
28
28
|
|
|
29
29
|
# filestate_python
|
|
30
30
|
|
|
31
|
-
Version: 9.
|
|
31
|
+
Version: 9.4.0
|
|
32
32
|
|
|
33
33
|
Extends wexample-filestate with Python file options: format, sort imports, modernize typing, and reorder class members.
|
|
34
34
|
|
|
@@ -6,7 +6,7 @@ build-backend = "pdm.backend"
|
|
|
6
6
|
|
|
7
7
|
[project]
|
|
8
8
|
name = "wexample-filestate-python"
|
|
9
|
-
version = "9.
|
|
9
|
+
version = "9.4.0"
|
|
10
10
|
description = "Extends wexample-filestate with Python file options: format, sort imports, modernize typing, and reorder class members."
|
|
11
11
|
authors = [
|
|
12
12
|
{ name = "weeger", email = "contact@wexample.com" },
|
|
@@ -29,7 +29,7 @@ dependencies = [
|
|
|
29
29
|
"ruff",
|
|
30
30
|
"tomli",
|
|
31
31
|
"wexample-api>=6.8.0",
|
|
32
|
-
"wexample-filestate>=18.
|
|
32
|
+
"wexample-filestate>=18.1.0",
|
|
33
33
|
]
|
|
34
34
|
|
|
35
35
|
[project.readme]
|
|
@@ -23,6 +23,11 @@ _ALLOWED_OPTIONS: list[type[AbstractConfigOption]] | None = None
|
|
|
23
23
|
|
|
24
24
|
@base_class
|
|
25
25
|
class PythonOption(OptionMixin, AbstractNestedConfigOption):
|
|
26
|
+
@classmethod
|
|
27
|
+
def get_nature(cls) -> None:
|
|
28
|
+
"""A container: no nature of its own, each of its rules has one."""
|
|
29
|
+
return None
|
|
30
|
+
|
|
26
31
|
# Do NOT cache results in `cls._<name>_cache` class attributes. With
|
|
27
32
|
# `@base_class`, attrs treats class-level annotations as instance fields;
|
|
28
33
|
# `PythonOption._cache` then raises AttributeError at runtime. Use
|
|
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
|
|
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
|
|
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
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{wexample_filestate_python-9.3.0 → wexample_filestate_python-9.4.0}/tests/helper/__init__.py
RENAMED
|
File without changes
|
{wexample_filestate_python-9.3.0 → wexample_filestate_python-9.4.0}/tests/helper/test_package.py
RENAMED
|
File without changes
|
{wexample_filestate_python-9.3.0 → wexample_filestate_python-9.4.0}/tests/helper/test_toml.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{wexample_filestate_python-9.3.0 → wexample_filestate_python-9.4.0}/tests/unit/helper/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{wexample_filestate_python-9.3.0 → wexample_filestate_python-9.4.0}/tests/unit/helper/test_toml.py
RENAMED
|
File without changes
|
{wexample_filestate_python-9.3.0 → wexample_filestate_python-9.4.0}/tests/unit/utils/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{wexample_filestate_python-9.3.0 → wexample_filestate_python-9.4.0}/tests/wexample_tests/__init__.py
RENAMED
|
File without changes
|