diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..49452a1 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,7 @@ +{ + "python.analysis.ignore": [ "*" ], + "[python]": { + "editor.formatOnSave": true, + "editor.defaultFormatter": "charliermarsh.ruff" + } +} \ No newline at end of file diff --git a/affinity.py b/affinity.py index 01c2c6c..2621536 100644 --- a/affinity.py +++ b/affinity.py @@ -62,8 +62,8 @@ def info(self): def factory(cls, dtype, array_class=pd.Series, cls_name=None): """Factory method for creating typed classes. - Reverted to explicit class declarations. - Unable to convince IDEs that factory-made classes are not of "DescriptorType". + I failed to convince IDEs that factory-made classes are not of "DescriptorType" + and reverted to explicit class declarations. """ class DescriptorType(cls): diff --git a/pyproject.toml b/pyproject.toml index af9a375..770c9ae 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -24,4 +24,4 @@ include = [ [tool.hatch.build.targets.wheel] [tool.ruff] -line-length = 88 \ No newline at end of file +line-length = 88