Skip to content

Skip namespace package enforcement for PEP 723 scripts#13974

Merged
charliermarsh merged 1 commit intomainfrom
charlie/pep723
Oct 29, 2024
Merged

Skip namespace package enforcement for PEP 723 scripts#13974
charliermarsh merged 1 commit intomainfrom
charlie/pep723

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
@charliermarsh charliermarsh deleted the charlie/pep723 branch October 29, 2024 02:11
@github-actions
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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in 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