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

Use relativize_path for noqa warnings #5867

Merged
merged 2 commits into from
Jul 18, 2023
Merged

Conversation

sobolevn
Copy link
Contributor

Refs #5856

@charliermarsh
Copy link
Member

Thanks!

@charliermarsh charliermarsh merged commit cdfed3d into astral-sh:main Jul 18, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Jul 18, 2023

PR Check Results

Ecosystem

✅ ecosystem check detected no changes.

Benchmark

Linux

group                                      main                                   pr
-----                                      ----                                   --
formatter/large/dataset.py                 1.00     10.6±0.37ms     3.8 MB/sec  
formatter/numpy/ctypeslib.py               1.00      2.1±0.09ms     7.8 MB/sec  
formatter/numpy/globals.py                 1.00   252.0±12.07µs    11.7 MB/sec  
formatter/pydantic/types.py                1.00      4.6±0.15ms     5.6 MB/sec  
linter/all-rules/large/dataset.py          1.00     14.7±0.66ms     2.8 MB/sec    1.00     14.6±0.82ms     2.8 MB/sec
linter/all-rules/numpy/ctypeslib.py        1.04      3.7±0.21ms     4.5 MB/sec    1.00      3.6±0.13ms     4.7 MB/sec
linter/all-rules/numpy/globals.py          1.07   531.3±20.75µs     5.6 MB/sec    1.00   495.8±21.19µs     6.0 MB/sec
linter/all-rules/pydantic/types.py         1.09      7.0±0.22ms     3.6 MB/sec    1.00      6.5±0.26ms     3.9 MB/sec
linter/default-rules/large/dataset.py      1.09      7.8±0.22ms     5.2 MB/sec    1.00      7.2±0.24ms     5.7 MB/sec
linter/default-rules/numpy/ctypeslib.py    1.08  1679.7±52.97µs     9.9 MB/sec    1.00  1553.3±67.63µs    10.7 MB/sec
linter/default-rules/numpy/globals.py      1.07   195.7±11.26µs    15.1 MB/sec    1.00   183.4±11.20µs    16.1 MB/sec
linter/default-rules/pydantic/types.py     1.08      3.6±0.12ms     7.2 MB/sec    1.00      3.3±0.15ms     7.7 MB/sec

Windows

group                                      main                                   pr
-----                                      ----                                   --
formatter/large/dataset.py                 1.00     11.3±0.13ms     3.6 MB/sec    1.01     11.4±0.16ms     3.6 MB/sec
formatter/numpy/ctypeslib.py               1.00      2.2±0.03ms     7.6 MB/sec    1.00      2.2±0.03ms     7.6 MB/sec
formatter/numpy/globals.py                 1.00    247.1±4.64µs    11.9 MB/sec    1.04   257.2±18.15µs    11.5 MB/sec
formatter/pydantic/types.py                1.00      4.8±0.08ms     5.3 MB/sec    1.00      4.8±0.06ms     5.3 MB/sec
linter/all-rules/large/dataset.py          1.00     15.9±0.15ms     2.6 MB/sec    1.00     16.0±0.22ms     2.5 MB/sec
linter/all-rules/numpy/ctypeslib.py        1.00      4.1±0.06ms     4.0 MB/sec    1.00      4.2±0.06ms     4.0 MB/sec
linter/all-rules/numpy/globals.py          1.00    498.5±7.48µs     5.9 MB/sec    1.01   501.3±10.29µs     5.9 MB/sec
linter/all-rules/pydantic/types.py         1.00      7.2±0.09ms     3.5 MB/sec    1.00      7.2±0.12ms     3.5 MB/sec
linter/default-rules/large/dataset.py      1.00      8.2±0.09ms     5.0 MB/sec    1.00      8.2±0.10ms     5.0 MB/sec
linter/default-rules/numpy/ctypeslib.py    1.00  1690.5±21.84µs     9.8 MB/sec    1.01  1700.9±20.85µs     9.8 MB/sec
linter/default-rules/numpy/globals.py      1.00    191.3±3.69µs    15.4 MB/sec    1.00    191.9±3.64µs    15.4 MB/sec
linter/default-rules/pydantic/types.py     1.00      3.6±0.05ms     7.0 MB/sec    1.01      3.7±0.04ms     7.0 MB/sec

evanrittenhouse pushed a commit to evanrittenhouse/ruff that referenced this pull request Jul 19, 2023
konstin pushed a commit that referenced this pull request Jul 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants