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

Some warnings can't be disabled with --quiet #1525

Closed
sztamas opened this issue Oct 4, 2020 · 0 comments · Fixed by #1526, hypothesis/viahtml#107 or wwade/jobrunner#63
Closed

Some warnings can't be disabled with --quiet #1525

sztamas opened this issue Oct 4, 2020 · 0 comments · Fixed by #1526, hypothesis/viahtml#107 or wwade/jobrunner#63
Assignees
Labels
bug Something isn't working

Comments

@sztamas
Copy link
Collaborator

sztamas commented Oct 4, 2020

There are some early warnings in settings.py:Config.__init__ that can't be disabled with quiet because they conditionals use self.quiet, but self.quiet isn't set until later in the method.

Ex. deprecation warning for using not-skip shows up event though I used --quiet.

▶ isort . --check  --quiet
/home/sztamas/Work/isort/isort/settings.py:429: UserWarning: W0503: Deprecated config options were used: not_skip.Please see the 5.0.0 upgrade guide: bit.ly/isortv5.
  warn(

Code for the example above

https://github.com/PyCQA/isort/blob/develop/isort/settings.py#L428

but there are a few other warnings as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment