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 DTZ007 #6757

Merged
merged 2 commits into from
Aug 22, 2023
Merged

Add docs for DTZ007 #6757

merged 2 commits into from
Aug 22, 2023

Conversation

klistwan
Copy link
Contributor

Changes:

  • Adds docs for DTZ007

Related to: #2646

@github-actions
Copy link
Contributor

github-actions bot commented Aug 22, 2023

PR Check Results

Ecosystem

✅ ecosystem check detected no changes.

Benchmark

Linux

group                                      main                                   pr
-----                                      ----                                   --
formatter/large/dataset.py                 1.00      3.1±0.10ms    13.0 MB/sec    1.13      3.5±0.11ms    11.5 MB/sec
formatter/numpy/ctypeslib.py               1.00   673.9±38.66µs    24.7 MB/sec    1.12   754.4±32.61µs    22.1 MB/sec
formatter/numpy/globals.py                 1.00     79.1±3.59µs    37.3 MB/sec    1.06     83.5±3.86µs    35.4 MB/sec
formatter/pydantic/types.py                1.00  1299.7±69.44µs    19.6 MB/sec    1.11  1440.5±62.04µs    17.7 MB/sec
linter/all-rules/large/dataset.py          1.00     10.0±0.59ms     4.1 MB/sec    1.07     10.7±0.27ms     3.8 MB/sec
linter/all-rules/numpy/ctypeslib.py        1.00      2.6±0.09ms     6.4 MB/sec    1.11      2.9±0.06ms     5.7 MB/sec
linter/all-rules/numpy/globals.py          1.00   396.4±24.96µs     7.4 MB/sec    1.03   409.8±12.07µs     7.2 MB/sec
linter/all-rules/pydantic/types.py         1.00      5.4±0.34ms     4.8 MB/sec    1.05      5.6±0.13ms     4.5 MB/sec
linter/default-rules/large/dataset.py      1.00      5.1±0.12ms     8.0 MB/sec    1.13      5.8±0.12ms     7.1 MB/sec
linter/default-rules/numpy/ctypeslib.py    1.00  1150.7±40.12µs    14.5 MB/sec    1.12  1285.0±34.19µs    13.0 MB/sec
linter/default-rules/numpy/globals.py      1.00   139.5±10.78µs    21.1 MB/sec    1.04    145.6±4.32µs    20.3 MB/sec
linter/default-rules/pydantic/types.py     1.03      2.7±0.12ms     9.5 MB/sec    1.00      2.6±0.07ms     9.8 MB/sec

Windows

group                                      main                                   pr
-----                                      ----                                   --
formatter/large/dataset.py                 1.00      2.8±0.02ms    14.4 MB/sec    1.01      2.8±0.02ms    14.3 MB/sec
formatter/numpy/ctypeslib.py               1.00    560.0±5.79µs    29.7 MB/sec    1.00    559.4±7.79µs    29.8 MB/sec
formatter/numpy/globals.py                 1.00     55.8±0.69µs    52.9 MB/sec    1.02     56.8±1.06µs    51.9 MB/sec
formatter/pydantic/types.py                1.00  1165.8±14.85µs    21.9 MB/sec    1.01  1173.3±17.85µs    21.7 MB/sec
linter/all-rules/large/dataset.py          1.00      9.9±0.04ms     4.1 MB/sec    1.01     10.0±0.07ms     4.1 MB/sec
linter/all-rules/numpy/ctypeslib.py        1.00      2.7±0.01ms     6.1 MB/sec    1.00      2.7±0.01ms     6.1 MB/sec
linter/all-rules/numpy/globals.py          1.00    300.5±2.77µs     9.8 MB/sec    1.00    301.5±5.03µs     9.8 MB/sec
linter/all-rules/pydantic/types.py         1.00      5.1±0.03ms     5.0 MB/sec    1.00      5.1±0.03ms     5.0 MB/sec
linter/default-rules/large/dataset.py      1.00      5.5±0.03ms     7.3 MB/sec    1.02      5.6±0.03ms     7.2 MB/sec
linter/default-rules/numpy/ctypeslib.py    1.00  1143.4±13.92µs    14.6 MB/sec    1.01  1156.7±11.41µs    14.4 MB/sec
linter/default-rules/numpy/globals.py      1.00    121.0±1.37µs    24.4 MB/sec    1.02    123.8±1.41µs    23.8 MB/sec
linter/default-rules/pydantic/types.py     1.00      2.4±0.01ms    10.5 MB/sec    1.01      2.5±0.02ms    10.3 MB/sec

@@ -18,7 +60,6 @@ impl Violation for CallDatetimeStrptimeWithoutZone {
}
}

/// DTZ007
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we want to retain this comment

@charliermarsh charliermarsh added the documentation Improvements or additions to documentation label Aug 22, 2023
@charliermarsh charliermarsh enabled auto-merge (squash) August 22, 2023 21:03
@charliermarsh charliermarsh merged commit e1f4438 into astral-sh:main Aug 22, 2023
16 checks passed
@klistwan klistwan deleted the docs/DTZ007 branch August 31, 2023 02:58
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.

None yet

3 participants