Skip to content

Commit eb447e7

Browse files
committed
Run pyupgrade --py310-plus on all files
Also enable ruff rule F401 (unused imports).
1 parent 6cc141c commit eb447e7

28 files changed

+480
-527
lines changed

docs/source/alfacase_definitions/PvtModelsDescription.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
class PvtModelsDescription
88
default_model: \ :class:`Optional <typing.Optional>`\[str] = None
9-
tables: \ :class:`Dict <typing.Dict>`\[str, Union[str, pathlib.Path]] = {}
9+
tables: \ :class:`Dict <typing.Dict>`\[str, str | pathlib.Path] = {}
1010
correlations: \ :class:`Dict <typing.Dict>`\[str, \ :class:`PvtModelCorrelationDescription <PvtModelCorrelationDescription>`\] = {}
1111
compositional: \ :class:`Dict <typing.Dict>`\[str, \ :class:`PvtModelCompositionalDescription <PvtModelCompositionalDescription>`\] = {}
1212
combined: \ :class:`Dict <typing.Dict>`\[str, \ :class:`PvtModelCombinedDescription <PvtModelCombinedDescription>`\] = {}

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ lint.ignore = [
2121
"E722",
2222
"E731",
2323
"E741",
24-
"F401",
2524
"F403",
2625
"F405",
2726
"F507",

0 commit comments

Comments
 (0)