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

Document flake8-unused-arguments #4147

Merged
merged 7 commits into from
Apr 29, 2023

Conversation

calumy
Copy link
Contributor

@calumy calumy commented Apr 29, 2023

Add documentation for the flake8-unused-arguments rules.

Related to #2646.

@github-actions
Copy link
Contributor

github-actions bot commented Apr 29, 2023

PR Check Results

Ecosystem

✅ ecosystem check detected no changes.

Benchmark

Linux

group                                      main                                   pr
-----                                      ----                                   --
linter/all-rules/large/dataset.py          1.00     13.9±0.03ms     2.9 MB/sec    1.00     13.9±0.04ms     2.9 MB/sec
linter/all-rules/numpy/ctypeslib.py        1.01      3.4±0.01ms     4.9 MB/sec    1.00      3.3±0.01ms     5.0 MB/sec
linter/all-rules/numpy/globals.py          1.01    423.7±0.81µs     7.0 MB/sec    1.00    419.3±1.26µs     7.0 MB/sec
linter/all-rules/pydantic/types.py         1.00      5.8±0.01ms     4.4 MB/sec    1.00      5.8±0.01ms     4.4 MB/sec
linter/default-rules/large/dataset.py      1.00      6.9±0.01ms     5.9 MB/sec    1.00      7.0±0.01ms     5.8 MB/sec
linter/default-rules/numpy/ctypeslib.py    1.00   1499.9±1.96µs    11.1 MB/sec    1.00   1500.0±3.82µs    11.1 MB/sec
linter/default-rules/numpy/globals.py      1.00    168.5±0.30µs    17.5 MB/sec    1.00    168.9±0.24µs    17.5 MB/sec
linter/default-rules/pydantic/types.py     1.00      3.1±0.00ms     8.2 MB/sec    1.01      3.1±0.01ms     8.1 MB/sec
parser/large/dataset.py                    1.01      5.5±0.00ms     7.4 MB/sec    1.00      5.4±0.00ms     7.5 MB/sec
parser/numpy/ctypeslib.py                  1.01   1065.6±0.64µs    15.6 MB/sec    1.00   1058.6±0.49µs    15.7 MB/sec
parser/numpy/globals.py                    1.01    108.7±0.29µs    27.1 MB/sec    1.00    108.1±0.28µs    27.3 MB/sec
parser/pydantic/types.py                   1.00      2.3±0.00ms    11.0 MB/sec    1.00      2.3±0.00ms    11.0 MB/sec

Windows

group                                      main                                   pr
-----                                      ----                                   --
linter/all-rules/large/dataset.py          1.01     16.7±0.34ms     2.4 MB/sec    1.00     16.6±0.11ms     2.5 MB/sec
linter/all-rules/numpy/ctypeslib.py        1.01      4.3±0.14ms     3.9 MB/sec    1.00      4.3±0.03ms     3.9 MB/sec
linter/all-rules/numpy/globals.py          1.00    437.1±6.55µs     6.8 MB/sec    1.00    437.2±6.49µs     6.7 MB/sec
linter/all-rules/pydantic/types.py         1.00      7.1±0.15ms     3.6 MB/sec    1.00      7.1±0.08ms     3.6 MB/sec
linter/default-rules/large/dataset.py      1.00      8.6±0.04ms     4.8 MB/sec    1.00      8.6±0.05ms     4.8 MB/sec
linter/default-rules/numpy/ctypeslib.py    1.00  1801.7±15.98µs     9.2 MB/sec    1.01  1817.0±18.11µs     9.2 MB/sec
linter/default-rules/numpy/globals.py      1.00    194.3±2.24µs    15.2 MB/sec    1.00    194.9±3.65µs    15.1 MB/sec
linter/default-rules/pydantic/types.py     1.00      3.9±0.02ms     6.6 MB/sec    1.01      3.9±0.06ms     6.5 MB/sec
parser/large/dataset.py                    1.00      6.9±0.03ms     5.9 MB/sec    1.03      7.1±0.04ms     5.8 MB/sec
parser/numpy/ctypeslib.py                  1.00   1312.7±9.92µs    12.7 MB/sec    1.02  1333.5±18.40µs    12.5 MB/sec
parser/numpy/globals.py                    1.00    136.2±1.34µs    21.7 MB/sec    1.01    136.9±1.16µs    21.5 MB/sec
parser/pydantic/types.py                   1.00      2.9±0.02ms     8.8 MB/sec    1.02      3.0±0.02ms     8.6 MB/sec

@charliermarsh charliermarsh changed the title Document flake8-unused-argiments Document flake8-unused-arguments Apr 29, 2023
@charliermarsh charliermarsh added the documentation Improvements or additions to documentation label Apr 29, 2023
@charliermarsh charliermarsh enabled auto-merge (squash) April 29, 2023 19:12
@charliermarsh charliermarsh merged commit 39ed75f into astral-sh:main Apr 29, 2023
@calumy calumy deleted the flake8-unused-arguments-docs branch May 10, 2023 14:55
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