Skip to content

Switch to ruff#204

Merged
horgh merged 17 commits into
mainfrom
greg/eng-1922
May 23, 2025
Merged

Switch to ruff#204
horgh merged 17 commits into
mainfrom
greg/eng-1922

Conversation

@oschwald
Copy link
Copy Markdown
Member

  • Switch to ruff for formatting
  • Run ruff fix
  • Run ruff unsafe fixes
  • Add init.py file
  • Improve typing
  • Improve docs
  • Minor style fixes and ignoring of particular lints
  • Switch to ruff for linting

@oschwald oschwald force-pushed the greg/eng-1922 branch 3 times, most recently from 448cdca to 8971b56 Compare May 21, 2025 15:30
Copy link
Copy Markdown
Contributor

@horgh horgh left a comment

Choose a reason for hiding this comment

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

Looks good! I have a couple questions.

Comment thread examples/benchmark.py
Comment thread maxminddb/extension.pyi
Comment thread maxminddb/extension.pyi Outdated
def __enter__(self) -> Self: ...
def __exit__(self, *args) -> None: ... # noqa: ANN002

# pylint: disable=too-few-public-methods
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Would we want to delete this pylint comment?

@horgh horgh merged commit 8b89abd into main May 23, 2025
85 checks passed
@horgh horgh deleted the greg/eng-1922 branch May 23, 2025 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants