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

chore: Enable INP Ruff checks #1501

Merged
merged 1 commit into from
Mar 16, 2023
Merged

chore: Enable INP Ruff checks #1501

merged 1 commit into from
Mar 16, 2023

Commits on Mar 15, 2023

  1. chore: Enable INP Ruff checks

    <h2>Rationale</h2>
    
    <p>Implicit namespace packages are directories of Python files without an <code>__init__.py</code>.
        They’re valid and importable, but they break <em>many</em> tools, such as:</p>
    
    <ul>
        <li><p><a href="https://bugs.python.org/issue23882" rel="nofollow">unittest test discovery</a> (and by extension, Django’s test runner)</p></li>
        <li><p><a href="nedbat/coveragepy#1024" rel="nofollow">Coverage.py</a></p></li>
        <li><p>Mypy without its <a href="https://mypy.readthedocs.io/en/latest/command_line.html#import-discovery" rel="nofollow">–namespace-packages option</a></p></li>
        <li><p><a href="pytest-dev/pytest#5147" rel="nofollow">pytest</a></p></li>
    </ul>
    
    https://pypi.org/project/flake8-no-pep420/
    edgarrmondragon committed Mar 15, 2023
    Configuration menu
    Copy the full SHA
    b8691f3 View commit details
    Browse the repository at this point in the history