Skip to content

Commit c53ceb0

Browse files
authored
Merge branch 'master' into dependabot/pip/distlib-0.3.9
2 parents 9becb99 + af86733 commit c53ceb0

File tree

6 files changed

+47
-46
lines changed

6 files changed

+47
-46
lines changed

.github/labels.yml

+22-22
Original file line numberDiff line numberDiff line change
@@ -6,67 +6,67 @@
66
# the GitHub Action https://github.com/marketplace/actions/github-labeler.
77
- name: breaking
88
description: Breaking Changes
9-
color: bfd4f2
9+
color: "#bfd4f2"
1010
- name: bug
1111
description: Something isn't working
12-
color: d73a4a
12+
color: "#d73a4a"
1313
- name: build
1414
description: Build System and Dependencies
15-
color: bfdadc
15+
color: "#bfdadc"
1616
- name: ci
1717
description: Continuous Integration
18-
color: 4a97d6
18+
color: "#4a97d6"
1919
- name: dependencies
2020
description: Pull requests that update a dependency file
21-
color: 0366d6
21+
color: "#0366d6"
2222
- name: documentation
2323
description: Improvements or additions to documentation
24-
color: 0075ca
24+
color: "#0075ca"
2525
- name: duplicate
2626
description: This issue or pull request already exists
27-
color: cfd3d7
27+
color: "#cfd3d7"
2828
- name: enhancement
2929
description: New feature or request
30-
color: a2eeef
30+
color: "#a2eeef"
3131
- name: github_actions
3232
description: Pull requests that update Github_actions code
33-
color: "000000"
33+
color: "#000000"
3434
- name: good first issue
3535
description: Good for newcomers
36-
color: 7057ff
36+
color: "#7057ff"
3737
- name: help wanted
3838
description: Extra attention is needed
39-
color: 008672
39+
color: "#008672"
4040
- name: invalid
4141
description: This doesn't seem right
42-
color: e4e669
42+
color: "#e4e669"
4343
- name: performance
4444
description: Performance
45-
color: "016175"
45+
color: "#016175"
4646
- name: python
4747
description: Pull requests that update Python code
48-
color: 2b67c6
48+
color: "#2b67c6"
4949
- name: question
5050
description: Further information is requested
51-
color: d876e3
51+
color: "#d876e3"
5252
- name: refactoring
5353
description: Refactoring
54-
color: ef67c4
54+
color: "#ef67c4"
5555
- name: removal
5656
description: Removals and Deprecations
57-
color: 9ae7ea
57+
color: "#9ae7ea"
5858
- name: style
5959
description: Style
60-
color: c120e5
60+
color: "#c120e5"
6161
- name: testing
6262
description: Testing
63-
color: b1fc6f
63+
color: "#b1fc6f"
6464
- name: skip-changelog
6565
description: Skip pull request from release notes
66-
color: 964B00
66+
color: "#964B00"
6767
- name: skip-stale
6868
description: Skip issue or pull request to be marked as stale
69-
color: 964B50
69+
color: "#964B50"
7070
- name: wontfix
7171
description: This will not be worked on
72-
color: ffffff
72+
color: "#ffffff"

.github/workflows/labeler.yml

+1
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,5 @@ jobs:
1616
- name: Run Labeler
1717
uses: crazy-max/[email protected]
1818
with:
19+
github-token: ${{ secrets.GITHUB_TOKEN }}
1920
skip-delete: true

noxfile.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,8 @@ def activate_virtualenv_in_precommit_hooks(session: Session) -> None:
9696
text = hook.read_text()
9797

9898
if not any(
99-
Path("A") == Path("a") and bindir.lower() in text.lower() or bindir in text
99+
(Path("A") == Path("a") and bindir.lower() in text.lower())
100+
or bindir in text
100101
for bindir in bindirs
101102
):
102103
continue

poetry.lock

+19-19
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/audible/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
from .client import AsyncClient, Client
66

77

8-
__all__ = ["__version__", "Authenticator", "log_helper", "Client", "AsyncClient"]
8+
__all__ = ["AsyncClient", "Authenticator", "Client", "__version__", "log_helper"]

src/audible/localization.py

+2-3
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,8 @@
6767

6868

6969
def search_template(key: str, value: str) -> dict[str, str] | None:
70-
for country in LOCALE_TEMPLATES:
71-
locale = LOCALE_TEMPLATES[country]
72-
if locale[key] == value:
70+
for country, locale in LOCALE_TEMPLATES.items():
71+
if locale.get(key, "") == value:
7372
logger.debug("found locale for %s", country)
7473
return locale
7574

0 commit comments

Comments
 (0)