Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

STY: Fix style issues #58

Merged
merged 4 commits into from
Nov 5, 2023
Merged

STY: Fix style issues #58

merged 4 commits into from
Nov 5, 2023

Conversation

effigies
Copy link
Contributor

@effigies effigies commented Nov 5, 2023

Unclear why F401 needed to be "unfixable", so I removed it. The specific violation of FBT002 is unavoidable for compatibility, but it also doesn't seem like a useful check, so I ignored it generally instead of with a #noqa.

Closes #54.

effigies and others added 3 commits November 5, 2023 11:45
Fixes mypy error:

  tests/conftest.py:18:5: error: Incompatible redefinition (redefinition with
  type "Callable[[Any, Any, Any, VarArg(Any), KwArg(Any)], Any]", original type
  "_RmtreeType")  [misc]
          def rmtree(path, ignore_errors=False, onerror=None, *args, **kwds)...
          ^
  tests/conftest.py:18:5: note: "function" is missing following "_RmtreeType" protocol member:
  tests/conftest.py:18:5: note:     avoids_symlink_attacks
@effigies effigies force-pushed the sty/fix-style-issues branch 2 times, most recently from 5618682 to 7dc224d Compare November 5, 2023 17:19
@effigies
Copy link
Contributor Author

effigies commented Nov 5, 2023

@ofek All green!

Copy link
Owner

@ofek ofek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@ofek ofek merged commit 029f2a1 into ofek:master Nov 5, 2023
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants