Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Skip namespace package enforcement for PEP 723 scripts #13974

Merged
merged 1 commit into from
Oct 29, 2024

Conversation

charliermarsh
Copy link
Member

@charliermarsh charliermarsh commented Oct 29, 2024

Summary

Vendors the PEP 723 parser from uv.

Closes #13912.

@charliermarsh charliermarsh added the rule Implementing or modifying a lint rule label Oct 29, 2024
@charliermarsh charliermarsh enabled auto-merge (squash) October 29, 2024 02:10
@charliermarsh charliermarsh merged commit b6847b3 into main Oct 29, 2024
18 checks passed
@charliermarsh charliermarsh deleted the charlie/pep723 branch October 29, 2024 02:11
Copy link
Contributor

ruff-ecosystem results

Linter (stable)

ℹ️ ecosystem check detected linter changes. (+0 -1 violations, +0 -0 fixes in 2 projects; 52 projects unchanged)

apache/airflow (+0 -1 violations, +0 -0 fixes)

ruff check --no-cache --exit-zero --ignore RUF9 --output-format concise --no-preview --select ALL

- clients/python/test_python_client.py:1:1: INP001 File `clients/python/test_python_client.py` is part of an implicit namespace package. Add an `__init__.py`.

pandas-dev/pandas (+0 -0 violations, +0 -0 fixes)


Changes by rule (1 rules affected)

code total + violation - violation + fix - fix
INP001 1 0 1 0 0

Linter (preview)

ℹ️ ecosystem check detected linter changes. (+0 -1 violations, +0 -0 fixes in 1 projects; 53 projects unchanged)

apache/airflow (+0 -1 violations, +0 -0 fixes)

ruff check --no-cache --exit-zero --ignore RUF9 --output-format concise --preview --select ALL

- clients/python/test_python_client.py:1:1: INP001 File `clients/python/test_python_client.py` is part of an implicit namespace package. Add an `__init__.py`.

Changes by rule (1 rules affected)

code total + violation - violation + fix - fix
INP001 1 0 1 0 0

Formatter (stable)

✅ ecosystem check detected no format changes.

Formatter (preview)

✅ ecosystem check detected no format changes.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
rule Implementing or modifying a lint rule
Projects
None yet
Development

Successfully merging this pull request may close these issues.

INP001: Skip files with PEP 723 inline script metadata
1 participant