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 docs for E275, E231, E251, and E252 #6700

Merged
merged 6 commits into from
Aug 20, 2023
Merged

Conversation

harupy
Copy link
Contributor

@harupy harupy commented Aug 20, 2023

Summary

#2646

Test Plan

@github-actions
Copy link
Contributor

github-actions bot commented Aug 20, 2023

PR Check Results

Ecosystem

✅ ecosystem check detected no changes.

Benchmark

Linux

group                                      main                                   pr
-----                                      ----                                   --
formatter/large/dataset.py                 1.00      3.8±0.06ms    10.7 MB/sec    1.00      3.8±0.05ms    10.7 MB/sec
formatter/numpy/ctypeslib.py               1.00    806.2±9.71µs    20.7 MB/sec    1.00   802.3±11.17µs    20.8 MB/sec
formatter/numpy/globals.py                 1.00     84.2±1.15µs    35.1 MB/sec    1.00     83.9±1.53µs    35.2 MB/sec
formatter/pydantic/types.py                1.00  1553.5±21.15µs    16.4 MB/sec    1.00  1555.8±17.53µs    16.4 MB/sec
linter/all-rules/large/dataset.py          1.05     12.6±0.10ms     3.2 MB/sec    1.00     12.0±0.10ms     3.4 MB/sec
linter/all-rules/numpy/ctypeslib.py        1.02      3.3±0.03ms     5.0 MB/sec    1.00      3.2±0.08ms     5.1 MB/sec
linter/all-rules/numpy/globals.py          1.01    463.9±3.33µs     6.4 MB/sec    1.00    459.3±5.93µs     6.4 MB/sec
linter/all-rules/pydantic/types.py         1.04      6.5±0.06ms     3.9 MB/sec    1.00      6.2±0.06ms     4.1 MB/sec
linter/default-rules/large/dataset.py      1.09      7.0±0.07ms     5.8 MB/sec    1.00      6.4±0.04ms     6.3 MB/sec
linter/default-rules/numpy/ctypeslib.py    1.04  1489.9±19.53µs    11.2 MB/sec    1.00  1430.1±10.93µs    11.6 MB/sec
linter/default-rules/numpy/globals.py      1.01    170.6±2.18µs    17.3 MB/sec    1.00    168.1±1.55µs    17.6 MB/sec
linter/default-rules/pydantic/types.py     1.06      3.1±0.03ms     8.2 MB/sec    1.00      2.9±0.02ms     8.8 MB/sec

Windows

group                                      main                                   pr
-----                                      ----                                   --
formatter/large/dataset.py                 1.00      3.8±0.06ms    10.8 MB/sec    1.00      3.8±0.07ms    10.7 MB/sec
formatter/numpy/ctypeslib.py               1.00   771.8±20.12µs    21.6 MB/sec    1.00   773.1±17.19µs    21.5 MB/sec
formatter/numpy/globals.py                 1.00     79.0±1.39µs    37.4 MB/sec    1.01     80.0±1.98µs    36.9 MB/sec
formatter/pydantic/types.py                1.00  1553.7±28.85µs    16.4 MB/sec    1.01  1562.6±34.74µs    16.3 MB/sec
linter/all-rules/large/dataset.py          1.00     13.3±0.17ms     3.1 MB/sec    1.01     13.4±0.20ms     3.0 MB/sec
linter/all-rules/numpy/ctypeslib.py        1.00      3.6±0.05ms     4.7 MB/sec    1.00      3.6±0.04ms     4.6 MB/sec
linter/all-rules/numpy/globals.py          1.00    443.1±8.81µs     6.7 MB/sec    1.00    443.2±8.32µs     6.7 MB/sec
linter/all-rules/pydantic/types.py         1.00      7.0±0.16ms     3.6 MB/sec    1.00      7.0±0.12ms     3.6 MB/sec
linter/default-rules/large/dataset.py      1.00      7.4±0.10ms     5.5 MB/sec    1.00      7.4±0.07ms     5.5 MB/sec
linter/default-rules/numpy/ctypeslib.py    1.00  1534.5±20.64µs    10.9 MB/sec    1.00  1539.8±34.87µs    10.8 MB/sec
linter/default-rules/numpy/globals.py      1.00    175.4±3.32µs    16.8 MB/sec    1.01    177.6±4.53µs    16.6 MB/sec
linter/default-rules/pydantic/types.py     1.00      3.3±0.04ms     7.8 MB/sec    1.00      3.3±0.05ms     7.8 MB/sec

@harupy harupy changed the title Add doc for E275 Add docs for E275, E231 Aug 20, 2023
@harupy harupy changed the title Add docs for E275, E231 Add docs for E275, E231, E251, and E252 Aug 20, 2023
@charliermarsh charliermarsh added the documentation Improvements or additions to documentation label Aug 20, 2023
@charliermarsh charliermarsh enabled auto-merge (squash) August 20, 2023 14:44
@charliermarsh charliermarsh merged commit 419615f into astral-sh:main Aug 20, 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