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

Add PT020 doc #6011

Merged
merged 2 commits into from
Jul 24, 2023
Merged

Add PT020 doc #6011

merged 2 commits into from
Jul 24, 2023

Conversation

harupy
Copy link
Contributor

@harupy harupy commented Jul 23, 2023

Summary

#2646

Test Plan

@github-actions
Copy link
Contributor

github-actions bot commented Jul 23, 2023

PR Check Results

Ecosystem

✅ ecosystem check detected no changes.

Benchmark

Linux

group                                      main                                   pr
-----                                      ----                                   --
formatter/large/dataset.py                 1.08     10.2±0.42ms     4.0 MB/sec    1.00      9.5±0.40ms     4.3 MB/sec
formatter/numpy/ctypeslib.py               1.00  1907.4±80.64µs     8.7 MB/sec    1.05  1997.1±106.88µs     8.3 MB/sec
formatter/numpy/globals.py                 1.15   242.4±16.38µs    12.2 MB/sec    1.00   211.0±14.74µs    14.0 MB/sec
formatter/pydantic/types.py                1.00      4.3±0.24ms     5.9 MB/sec    1.02      4.4±0.20ms     5.8 MB/sec
linter/all-rules/large/dataset.py          1.05     14.3±1.24ms     2.8 MB/sec    1.00     13.6±0.77ms     3.0 MB/sec
linter/all-rules/numpy/ctypeslib.py        1.03      3.6±0.16ms     4.6 MB/sec    1.00      3.5±0.19ms     4.8 MB/sec
linter/all-rules/numpy/globals.py          1.04   454.5±20.16µs     6.5 MB/sec    1.00   438.1±20.99µs     6.7 MB/sec
linter/all-rules/pydantic/types.py         1.00      6.1±0.36ms     4.2 MB/sec    1.00      6.1±0.25ms     4.2 MB/sec
linter/default-rules/large/dataset.py      1.00      6.7±0.23ms     6.1 MB/sec    1.04      6.9±0.34ms     5.9 MB/sec
linter/default-rules/numpy/ctypeslib.py    1.00  1432.5±82.91µs    11.6 MB/sec    1.01  1441.3±59.56µs    11.6 MB/sec
linter/default-rules/numpy/globals.py      1.03   171.0±12.74µs    17.3 MB/sec    1.00   166.6±13.37µs    17.7 MB/sec
linter/default-rules/pydantic/types.py     1.00      3.0±0.10ms     8.5 MB/sec    1.01      3.0±0.12ms     8.4 MB/sec

Windows

group                                      main                                   pr
-----                                      ----                                   --
formatter/large/dataset.py                 1.00     11.3±0.26ms     3.6 MB/sec    1.08     12.2±0.27ms     3.3 MB/sec
formatter/numpy/ctypeslib.py               1.00      2.2±0.06ms     7.6 MB/sec    1.07      2.3±0.05ms     7.1 MB/sec
formatter/numpy/globals.py                 1.00   248.7±10.57µs    11.9 MB/sec    1.03    255.1±5.97µs    11.6 MB/sec
formatter/pydantic/types.py                1.00      4.8±0.20ms     5.3 MB/sec    1.07      5.2±0.12ms     4.9 MB/sec
linter/all-rules/large/dataset.py          1.00     15.8±0.22ms     2.6 MB/sec    1.01     16.0±0.32ms     2.5 MB/sec
linter/all-rules/numpy/ctypeslib.py        1.00      4.1±0.08ms     4.1 MB/sec    1.01      4.1±0.11ms     4.0 MB/sec
linter/all-rules/numpy/globals.py          1.00   488.9±14.92µs     6.0 MB/sec    1.01   493.0±11.81µs     6.0 MB/sec
linter/all-rules/pydantic/types.py         1.00      7.1±0.11ms     3.6 MB/sec    1.00      7.1±0.17ms     3.6 MB/sec
linter/default-rules/large/dataset.py      1.01      8.2±0.13ms     5.0 MB/sec    1.00      8.1±0.13ms     5.0 MB/sec
linter/default-rules/numpy/ctypeslib.py    1.00  1694.4±31.66µs     9.8 MB/sec    1.00  1686.6±23.53µs     9.9 MB/sec
linter/default-rules/numpy/globals.py      1.01    193.0±5.74µs    15.3 MB/sec    1.00    190.5±4.14µs    15.5 MB/sec
linter/default-rules/pydantic/types.py     1.02      3.7±0.08ms     6.9 MB/sec    1.00      3.6±0.04ms     7.1 MB/sec

@charliermarsh charliermarsh merged commit 95e6258 into astral-sh:main Jul 24, 2023
@charliermarsh charliermarsh added the documentation Improvements or additions to documentation label Jul 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants