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 PT021, PT022 and PT023 docs #6143

Merged
merged 6 commits into from
Aug 1, 2023

Conversation

harupy
Copy link
Contributor

@harupy harupy commented Jul 28, 2023

Summary

#2646

Test Plan

@github-actions
Copy link
Contributor

github-actions bot commented Jul 28, 2023

PR Check Results

Ecosystem

✅ ecosystem check detected no changes.

Benchmark

Linux

group                                      main                                   pr
-----                                      ----                                   --
formatter/large/dataset.py                 1.00     11.0±0.32ms     3.7 MB/sec    1.06     11.6±0.31ms     3.5 MB/sec
formatter/numpy/ctypeslib.py               1.00      2.2±0.09ms     7.7 MB/sec    1.03      2.2±0.10ms     7.5 MB/sec
formatter/numpy/globals.py                 1.00    235.7±9.58µs    12.5 MB/sec    1.04   244.9±11.20µs    12.0 MB/sec
formatter/pydantic/types.py                1.00      4.5±0.16ms     5.6 MB/sec    1.07      4.8±0.18ms     5.3 MB/sec
linter/all-rules/large/dataset.py          1.00     14.9±0.45ms     2.7 MB/sec    1.05     15.6±0.36ms     2.6 MB/sec
linter/all-rules/numpy/ctypeslib.py        1.00      3.6±0.14ms     4.6 MB/sec    1.04      3.8±0.11ms     4.4 MB/sec
linter/all-rules/numpy/globals.py          1.00   514.5±26.08µs     5.7 MB/sec    1.03   527.6±20.71µs     5.6 MB/sec
linter/all-rules/pydantic/types.py         1.00      6.4±0.26ms     4.0 MB/sec    1.06      6.8±0.14ms     3.8 MB/sec
linter/default-rules/large/dataset.py      1.00      8.0±0.28ms     5.1 MB/sec    1.02      8.2±0.16ms     5.0 MB/sec
linter/default-rules/numpy/ctypeslib.py    1.00  1654.4±47.27µs    10.1 MB/sec    1.01  1667.8±53.32µs    10.0 MB/sec
linter/default-rules/numpy/globals.py      1.02    194.2±7.59µs    15.2 MB/sec    1.00    190.7±6.47µs    15.5 MB/sec
linter/default-rules/pydantic/types.py     1.00      3.6±0.11ms     7.1 MB/sec    1.00      3.6±0.07ms     7.1 MB/sec

Windows

group                                      main                                   pr
-----                                      ----                                   --
formatter/large/dataset.py                 1.00     13.6±0.30ms     3.0 MB/sec    1.01     13.8±0.42ms     3.0 MB/sec
formatter/numpy/ctypeslib.py               1.00      2.6±0.08ms     6.5 MB/sec    1.00      2.6±0.08ms     6.4 MB/sec
formatter/numpy/globals.py                 1.00   286.4±18.21µs    10.3 MB/sec    1.00   286.8±14.25µs    10.3 MB/sec
formatter/pydantic/types.py                1.00      5.7±0.21ms     4.5 MB/sec    1.00      5.7±0.21ms     4.5 MB/sec
linter/all-rules/large/dataset.py          1.00     19.0±0.37ms     2.1 MB/sec    1.00     19.1±0.43ms     2.1 MB/sec
linter/all-rules/numpy/ctypeslib.py        1.00      4.8±0.13ms     3.5 MB/sec    1.01      4.9±0.15ms     3.4 MB/sec
linter/all-rules/numpy/globals.py          1.00   597.0±33.19µs     4.9 MB/sec    1.00   594.9±18.92µs     5.0 MB/sec
linter/all-rules/pydantic/types.py         1.00      8.4±0.22ms     3.0 MB/sec    1.01      8.5±0.27ms     3.0 MB/sec
linter/default-rules/large/dataset.py      1.01     10.6±0.26ms     3.8 MB/sec    1.00     10.6±0.20ms     3.9 MB/sec
linter/default-rules/numpy/ctypeslib.py    1.00      2.1±0.06ms     8.0 MB/sec    1.01      2.1±0.05ms     7.9 MB/sec
linter/default-rules/numpy/globals.py      1.00   246.2±12.39µs    12.0 MB/sec    1.01    248.5±9.70µs    11.9 MB/sec
linter/default-rules/pydantic/types.py     1.00      4.5±0.14ms     5.6 MB/sec    1.01      4.6±0.15ms     5.6 MB/sec

@harupy harupy changed the title Add PT021 and PT022 docs Add PT021, PT022 and PT023 docs Jul 28, 2023
@charliermarsh charliermarsh added the documentation Improvements or additions to documentation label Jul 29, 2023
@charliermarsh charliermarsh merged commit 44a8d1c into astral-sh:main Aug 1, 2023
16 checks passed
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.

2 participants