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 python dependencies #552

Merged
merged 3 commits into from
Sep 3, 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
86 changes: 43 additions & 43 deletions pdm.lock

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

2 changes: 1 addition & 1 deletion pw
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import sys
from pathlib import Path
from venv import EnvBuilder

VERSION = "3.0.4"
VERSION = "3.0.5"

PYPROJECTX_INSTALL_DIR_ENV_VAR = "PYPROJECTX_INSTALL_DIR"
PYPROJECTX_PACKAGE_ENV_VAR = "PYPROJECTX_PACKAGE"
Expand Down
22 changes: 13 additions & 9 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tool.pyprojectx]
main = ["pdm==2.17.3"]
main = ["pdm==2.18.1"]

[tool.pdm]
distribution = true
Expand Down Expand Up @@ -220,7 +220,17 @@ extend-exclude = [
[tool.ruff.lint]
extend-select = ["ALL"]
ignore = [
"ANN", # flake8-annotations (covered by pyright)
# conflicts with or covered by another tool:
"ANN", # flake8-annotations (covered by basedpyright)
"PLE0605", # Invalid format for `__all__`, must be `tuple` or `list` (covered by basedpyright)
"RUF013", # PEP 484 prohibits implicit Optional (covered by basedpyright)
"RUF016", # Slice in indexed access to type (covered by basedpyright)
"D418", # Function/Method decorated with @overload shouldn't contain a docstring (basedpyright supports it)
"ISC001", # single-line-implicit-string-concatenation (conflicts with formatter)
"COM812", # missing-trailing-comma (conflicts with formatter)
"PLC0414", # Import alias does not rename original package (used by basedpyright for explicit re-export)

# rules i disabled because i don't like them:
"EM", # flake8-errmsg
"FIX", # flake8-fixme
"PLR0913", # Too many arguments to function call
Expand All @@ -229,13 +239,9 @@ ignore = [
"PLR2004", # Magic value used in comparison
"PLR1722", # Use `sys.exit()` instead of `exit`
"PLW2901", # `for` loop variable overwritten by assignment target
"PLE0605", # Invalid format for `__all__`, must be `tuple` or `list` (covered by pyright)
"PLR0911", # Too many return statements
"PLW0603", # Using the global statement is discouraged
"PLC0105", # `TypeVar` name does not reflect its covariance
"PLC0414", # Import alias does not rename original package (used by pyright for explicit re-export)
"RUF013", # PEP 484 prohibits implicit Optional (covered by pyright)
"RUF016", # Slice in indexed access to type (covered by pyright)
"TRY002", # Create your own exception
"TRY003", # Avoid specifying long messages outside the exception class
"D10", # Missing docstring
Expand All @@ -251,13 +257,11 @@ ignore = [
"D405", # Section name should be properly capitalized
"D406", # Section name should end with a newline
"D415", # First line should end with a period, question mark, or exclamation point
"D418", # Function/Method decorated with @overload shouldn't contain a docstring (vscode supports it)
"PT013", # Found incorrect import of pytest, use simple import pytest instead (only for bad linters that can't check the qualname)
"TD002", # Missing author in TODO
"CPY001", # missing-copyright-notice
"C901", # max-complexity
"ISC001", # single-line-implicit-string-concatenation (conflicts with formatter)
"COM812", # missing-trailing-comma (conflicts with formatter)
"DOC402", # docstring-missing-yields
]

[tool.ruff.lint.pycodestyle]
Expand Down
Loading