-
Notifications
You must be signed in to change notification settings - Fork 512
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
base: master
Are you sure you want to change the base?
Linting updates #4259
Conversation
a6939b4
to
e77ea0e
Compare
e77ea0e
to
70b1f41
Compare
string-quote=single | ||
triple-quote=double | ||
docstring-quote=double |
There was a problem hiding this comment.
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 : )
There was a problem hiding this comment.
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
.
The PR gets the pre-commit configuration from the current linting/mypy setup. If we decide to proceed with this PR, I will update the corresponding pre-commit configuration. Left comment for visibility. |
Tested (run the relevant ones):
bash format.sh
pytest tests/test_smoke.py
pytest tests/test_smoke.py::test_fill_in_the_name
conda deactivate; bash -i tests/backward_compatibility_tests.sh