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

Linting updates #4259

Draft
wants to merge 6 commits into
base: master
Choose a base branch
from
Draft

Conversation

andylizf
Copy link
Contributor

@andylizf andylizf commented Nov 4, 2024

Tested (run the relevant ones):

  • Code formatting: bash format.sh
  • Any manual or new tests for this PR (please specify below)
  • All smoke tests: pytest tests/test_smoke.py
  • Relevant individual smoke tests: pytest tests/test_smoke.py::test_fill_in_the_name
  • Backward compatibility tests: conda deactivate; bash -i tests/backward_compatibility_tests.sh

@andylizf andylizf force-pushed the linting-updates branch 2 times, most recently from a6939b4 to e77ea0e Compare November 4, 2024 23:43
Comment on lines -439 to -441
string-quote=single
triple-quote=double
docstring-quote=double
Copy link
Collaborator

Choose a reason for hiding this comment

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

We want to keep these behaviors : )

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@Michaelvll Use Pylint with this configuration instead of pylint-quotes should work well for most cases in the existing repo:

[tool.pylint]
check-quote-consistency = true
load-plugins = ["pylint.extensions.docstyle"]

The pylint-quotes is deprecated due to no updates in 3 years and incompatibility with pylint >= 3.0.

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.

2 participants