Skip to content

Commit

Permalink
vscode formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
liquidcarbon committed Oct 3, 2024
1 parent 7ebfd6f commit f178d51
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
7 changes: 7 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"python.analysis.ignore": [ "*" ],
"[python]": {
"editor.formatOnSave": true,
"editor.defaultFormatter": "charliermarsh.ruff"
}
}
4 changes: 2 additions & 2 deletions affinity.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ include = [
[tool.hatch.build.targets.wheel]

[tool.ruff]
line-length = 88
line-length = 88

0 comments on commit f178d51

Please sign in to comment.