Skip to content

Commit d0ff081

Browse files
authored
py(deps): ruff 0.2.2 -> 0.3.0, et al. (#457)
See also: https://github.com/astral-sh/ruff/blob/v0.3.0/CHANGELOG.md
2 parents e8757d7 + 1c52df5 commit d0ff081

37 files changed

+89
-65
lines changed

CHANGES

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,14 @@ $ pip install --user --upgrade --pre libvcs
1515

1616
<!-- Maintainers, insert changes / features for the next release here -->
1717

18+
### Development
19+
20+
- ruff 0.2.2 -> 0.3.0 (#441)
21+
22+
Related formattings. Update CI to use `ruff check .` instead of `ruff .`.
23+
24+
See also: https://github.com/astral-sh/ruff/blob/v0.3.0/CHANGELOG.md
25+
1826
## libvcs 0.28.2 (2024-02-17)
1927

2028
### Fixes

conftest.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
See "pytest_plugins in non-top-level conftest files" in
88
https://docs.pytest.org/en/stable/deprecations.html
99
"""
10+
1011
import pathlib
1112
import typing as t
1213

docs/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# flake8: NOQA: E501
22
"""Sphinx configuration for libvcs."""
3+
34
import inspect
45
import pathlib
56
import sys

poetry.lock

Lines changed: 27 additions & 27 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/libvcs/__about__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Metadata package for libvcs."""
2+
23
__title__ = "libvcs"
34
__package_name__ = "libvcs"
45
__description__ = "Lite, typed, python utilities for Git, SVN, Mercurial, etc."

src/libvcs/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Project package for libvcs."""
2+
23
import logging
34

45
from ._internal.run import CmdLoggingAdapter

src/libvcs/_internal/dataclasses.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
----
55
This is an internal API not covered by versioning policy.
66
"""
7+
78
import dataclasses
89
import typing as t
910
from operator import attrgetter

src/libvcs/_internal/query_list.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
----
55
This is an internal API not covered by versioning policy.
66
"""
7+
78
import re
89
import traceback
910
import typing as t

src/libvcs/_internal/run.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
----
88
This is an internal API not covered by versioning policy.
99
"""
10+
1011
import datetime
1112
import logging
1213
import subprocess

src/libvcs/_internal/shortcuts.py

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
----
55
This is an internal API not covered by versioning policy.
66
"""
7+
78
import typing as t
89
from typing import Union
910

@@ -40,8 +41,7 @@ def create_project(
4041
vcs: t.Literal["git"],
4142
progress_callback: t.Optional[ProgressCallbackProtocol] = None,
4243
**kwargs: dict[t.Any, t.Any],
43-
) -> GitSync:
44-
...
44+
) -> GitSync: ...
4545

4646

4747
@t.overload
@@ -52,8 +52,7 @@ def create_project(
5252
vcs: t.Literal["svn"],
5353
progress_callback: t.Optional[ProgressCallbackProtocol] = None,
5454
**kwargs: dict[t.Any, t.Any],
55-
) -> SvnSync:
56-
...
55+
) -> SvnSync: ...
5756

5857

5958
@t.overload
@@ -64,8 +63,7 @@ def create_project(
6463
vcs: t.Literal["hg"],
6564
progress_callback: t.Optional[ProgressCallbackProtocol] = ...,
6665
**kwargs: dict[t.Any, t.Any],
67-
) -> HgSync:
68-
...
66+
) -> HgSync: ...
6967

7068

7169
def create_project(

0 commit comments

Comments
 (0)