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

Partially enable D100, D102, D103 and D104 #37469

Closed
wants to merge 3 commits into from

Conversation

rawwar
Copy link
Collaborator

@rawwar rawwar commented Feb 16, 2024

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.

@boring-cyborg boring-cyborg bot added the area:API Airflow's REST/HTTP API label Feb 16, 2024
@rawwar rawwar marked this pull request as draft February 16, 2024 00:57
from __future__ import annotations

import warnings
Copy link
Collaborator Author

@rawwar rawwar Feb 16, 2024

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

Copy link
Contributor

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

@rawwar rawwar changed the title Partially enable D100, D101, D102, D103 and D104 Partially enable D100, D102, D103 and D104 Feb 16, 2024
@rawwar rawwar mentioned this pull request Feb 16, 2024
10 tasks
Signed-off-by: kalyanr <[email protected]>
pyproject.toml Outdated Show resolved Hide resolved
@rawwar rawwar marked this pull request as ready for review February 16, 2024 01:24
Copy link
Contributor

@Taragolis Taragolis Feb 16, 2024

Choose a reason for hiding this comment

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

Copy link
Collaborator Author

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.

@potiuk
Copy link
Member

potiuk commented Feb 21, 2024

conflicts to solve?

@rawwar
Copy link
Collaborator Author

rawwar commented Feb 22, 2024

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!

@rawwar rawwar marked this pull request as draft February 22, 2024 10:52
@rawwar rawwar closed this Apr 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:API Airflow's REST/HTTP API
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants