-
Notifications
You must be signed in to change notification settings - Fork 14.4k
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
Partially enable D100
, D102
, D103
and D104
#37469
Conversation
from __future__ import annotations | ||
|
||
import warnings |
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.
@potiuk , pre-commit hooks reformatted this module after I moved doc string to Line 17 from Line 48. Should I revert this change?
I thought instead of merging E
*s and D
*s , like you mentioned, I could just fix the conflicts. Reason being, I felt E
*s (at least E402
) is supposed to be ignored
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.
@potiuk I guess this license notice might be removed because it is already listed in https://github.com/apache/airflow/blob/main/3rd-party-licenses/LICENSE-flask-kerberos.txt
D100
, D101
, D102
, D103
and D104
D100
, D102
, D103
and D104
Signed-off-by: kalyanr <kalyan.ben10@live.com>
Signed-off-by: kalyanr <kalyan.ben10@live.com>
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.
And also think it listed in 3rd-party-licenses: https://github.com/apache/airflow/blob/main/3rd-party-licenses/LICENSE-hue.txt
Added in #438
Source
https://github.com/cloudera/hue/blob/master/desktop/core/src/desktop/kt_renewer.py
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.
So, is it safe to remove from the modules? If so, I can check for all the modules where E402 is ignored and probably move the license text to a separate license file.
conflicts to solve? |
I won't be able to work on this for a week or two. My laptop got damaged. I'll continue working on this once I get back my laptop. Thanks! |
related: #10742
Enabled D100 to D104 partially by adding ignores to pyproject.toml.
Also included few fixes which were causing conflictin keys w.r.t
E
* lint issues.