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

⬆️ Update dependency prettier to v3.4.1 #350

Merged
merged 2 commits into from
Dec 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
"author": "Joost Lekkerkerker <[email protected]>",
"license": "MIT",
"devDependencies": {
"prettier": "3.3.3"
"prettier": "3.4.1"
}
}
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -138,18 +138,18 @@ asyncio_mode = "auto"

[tool.ruff.lint]
ignore = [
"ANN101", # Self... explanatory
"ANN102", # cls... just as useless
"ANN401", # Opinioated warning on disallowing dynamically typed expressions
"D203", # Conflicts with other rules
"D213", # Conflicts with other rules
"D417", # False positives in some occasions
"PLR2004", # Just annoying, not really useful
"TCH001",
"TC001",
"TRY301",
"FBT001", # Boolean positional arg
"FBT002", # Boolean default arg
"PLR0913", # A lot of arguments
"ISC001", # Conflicts with other rules
"COM812", # Conflicts with other rules
]
select = ["ALL"]

Expand Down
2 changes: 1 addition & 1 deletion src/youtubeaio/helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
"YOUTUBE_AUTH_TOKEN_URL",
"build_scope",
"build_url",
"first",
"chunk",
"first",
"limit",
]

Expand Down
14 changes: 7 additions & 7 deletions src/youtubeaio/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@
)

__all__ = [
"YouTubeThumbnail",
"YouTubeVideoThumbnails",
"YouTubeVideoSnippet",
"YouTubeVideo",
"YouTubeChannelThumbnails",
"YouTubeChannelRelatedPlaylists",
"YouTubeChannel",
"YouTubeChannelContentDetails",
"YouTubeChannelRelatedPlaylists",
"YouTubeChannelSnippet",
"YouTubeChannel",
"YouTubeChannelThumbnails",
"YouTubeThumbnail",
"YouTubeVideo",
"YouTubeVideoSnippet",
"YouTubeVideoThumbnails",
]

from youtubeaio.helper import get_duration
Expand Down
12 changes: 6 additions & 6 deletions src/youtubeaio/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@

__all__ = [
"AuthScope",
"YouTubeAPIError",
"YouTubeAuthorizationError",
"DeprecatedError",
"ForbiddenError",
"InvalidRefreshTokenError",
"InvalidTokenError",
"UnauthorizedError",
"MissingAppSecretError",
"MissingScopeError",
"UnauthorizedError",
"YouTubeAPIError",
"YouTubeAuthorizationError",
"YouTubeBackendError",
"MissingAppSecretError",
"DeprecatedError",
"YouTubeResourceNotFoundError",
"ForbiddenError",
]


Expand Down
2 changes: 1 addition & 1 deletion tests/ruff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ lint.extend-ignore = [
"S101", # Use of assert detected. As these are tests...
"S106", # Detection of passwords...
"SLF001", # Tests will access private/protected members...
"TCH002", # pytest doesn't like this one...
"TC002", # pytest doesn't like this one...
"PT011", # We want to check for broad exceptions...
]