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 PT011 and PT012 docs #6362

Merged
merged 3 commits into from
Aug 7, 2023
Merged

Conversation

harupy
Copy link
Contributor

@harupy harupy commented Aug 5, 2023

Summary

#2646

Test Plan

@github-actions
Copy link
Contributor

github-actions bot commented Aug 5, 2023

PR Check Results

Ecosystem

✅ ecosystem check detected no changes.

Benchmark

Linux

group                                      main                                   pr
-----                                      ----                                   --
formatter/large/dataset.py                 1.02      8.3±0.13ms     4.9 MB/sec    1.00      8.1±0.03ms     5.0 MB/sec
formatter/numpy/ctypeslib.py               1.01  1635.6±31.20µs    10.2 MB/sec    1.00  1625.6±20.29µs    10.2 MB/sec
formatter/numpy/globals.py                 1.00    182.8±2.53µs    16.1 MB/sec    1.00    182.0±3.16µs    16.2 MB/sec
formatter/pydantic/types.py                1.01      3.4±0.03ms     7.4 MB/sec    1.00      3.4±0.05ms     7.5 MB/sec
linter/all-rules/large/dataset.py          1.00     10.3±0.09ms     4.0 MB/sec    1.05     10.8±0.06ms     3.8 MB/sec
linter/all-rules/numpy/ctypeslib.py        1.00      2.7±0.02ms     6.1 MB/sec    1.00      2.7±0.01ms     6.1 MB/sec
linter/all-rules/numpy/globals.py          1.00    383.2±1.61µs     7.7 MB/sec    1.00    383.7±0.42µs     7.7 MB/sec
linter/all-rules/pydantic/types.py         1.00      4.7±0.03ms     5.4 MB/sec    1.05      4.9±0.03ms     5.2 MB/sec
linter/default-rules/large/dataset.py      1.00      5.2±0.02ms     7.8 MB/sec    1.00      5.2±0.02ms     7.8 MB/sec
linter/default-rules/numpy/ctypeslib.py    1.00  1124.6±13.65µs    14.8 MB/sec    1.00   1123.9±3.30µs    14.8 MB/sec
linter/default-rules/numpy/globals.py      1.00    126.7±1.69µs    23.3 MB/sec    1.00    126.6±0.39µs    23.3 MB/sec
linter/default-rules/pydantic/types.py     1.00      2.3±0.01ms    10.9 MB/sec    1.00      2.4±0.02ms    10.8 MB/sec

Windows

group                                      main                                   pr
-----                                      ----                                   --
formatter/large/dataset.py                 1.02     11.0±0.46ms     3.7 MB/sec    1.00     10.7±0.42ms     3.8 MB/sec
formatter/numpy/ctypeslib.py               1.00      2.2±0.23ms     7.7 MB/sec    1.02      2.2±0.17ms     7.6 MB/sec
formatter/numpy/globals.py                 1.00   242.0±20.36µs    12.2 MB/sec    1.00   241.4±17.37µs    12.2 MB/sec
formatter/pydantic/types.py                1.01      4.7±0.25ms     5.4 MB/sec    1.00      4.7±0.25ms     5.5 MB/sec
linter/all-rules/large/dataset.py          1.00     14.4±0.42ms     2.8 MB/sec    1.02     14.8±0.53ms     2.8 MB/sec
linter/all-rules/numpy/ctypeslib.py        1.00      3.9±0.13ms     4.3 MB/sec    1.00      3.9±0.16ms     4.3 MB/sec
linter/all-rules/numpy/globals.py          1.04   504.0±22.33µs     5.9 MB/sec    1.00   484.1±23.91µs     6.1 MB/sec
linter/all-rules/pydantic/types.py         1.02      6.8±0.28ms     3.8 MB/sec    1.00      6.6±0.24ms     3.8 MB/sec
linter/default-rules/large/dataset.py      1.02      7.6±0.23ms     5.4 MB/sec    1.00      7.5±0.24ms     5.5 MB/sec
linter/default-rules/numpy/ctypeslib.py    1.00  1554.4±87.36µs    10.7 MB/sec    1.01  1570.8±70.54µs    10.6 MB/sec
linter/default-rules/numpy/globals.py      1.05   183.9±10.18µs    16.0 MB/sec    1.00    175.9±9.72µs    16.8 MB/sec
linter/default-rules/pydantic/types.py     1.01      3.4±0.16ms     7.6 MB/sec    1.00      3.3±0.16ms     7.7 MB/sec

@charliermarsh charliermarsh added the documentation Improvements or additions to documentation label Aug 7, 2023
@charliermarsh charliermarsh merged commit 9c3fbcd into astral-sh:main Aug 7, 2023
17 checks passed
@harupy harupy deleted the PT011-PT012-docs branch August 7, 2023 01:30
durumu pushed a commit to durumu/ruff that referenced this pull request Aug 12, 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.

2 participants