updates python dependencies

This commit is contained in:
Mose Müller 2023-11-28 15:17:59 +01:00
parent 598449e893
commit 6997c4a842
2 changed files with 301 additions and 547 deletions

807
poetry.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -25,14 +25,6 @@ pytest = "^7.4.0"
pytest-cov = "^4.1.0"
mypy = "^1.4.1"
black = "^23.1.0"
isort = "^5.12.0"
flake8 = "^5.0.4"
flake8-use-fstring = "^1.4"
flake8-functions = "^0.0.7"
flake8-comprehensions = "^3.11.1"
flake8-pep585 = "^0.1.7"
flake8-pep604 = "^0.1.0"
flake8-eradicate = "^1.4.0"
matplotlib = "^3.7.2"
pyright = "^1.1.323"
pytest-mock = "^3.11.1"
@ -50,38 +42,27 @@ requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
# unfixable = [
# "ERA001", # Disable fix for commented out code
# ]
target-version = "py310" # Always generate Python 3.10-compatible code
line-length = 88
select = ["ALL"]
ignore = [
"ANN101", # typing self
"ANN401", # disallow Any typing
"F403",
"F405",
"E203",
"COM812", # Missing trailing comma rule; defer to Black for formatting
"B904", # Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
"D", # pydocstyle
"D100", # Missing docstring in public module
"D202", # No blank lines allowed after function docstring
"D203", # 1 blank line required before class docstring
"D212", # Multi-line docstring summary should start at the first line
"D400", # First line should end with a period
"D401", # First line of docstring should be in imperative mood
"D406", # Section name should end with a newline
"D407", # Missing dashed underline after section
"D412", # No blank lines allowed between a section header and its content
"D415", # First line should end with a period, question mark, or exclamation point
"COM812", # Missing trailing comma rule; defer to Black for formatting
"E203", # whitespace-before-punctuation
"UP007", # Use `X | Y` for type annotations
"PTH", # flake8-use-pathlib
"TRY", # Exception Handling AntiPatterns in Python
"S310", # suspicious-url-open-usage
"A", # flake8-builtins
"ARG", # flake8-unused-arguments
"BLE", # flake8-blind-except
"D", # pydocstyle
"EM", # flake8 error messages
"FBT", # Boolean trap detection
"PTH", # flake8-use-pathlib
"SLF", # flake8-self
# "FBT", # Boolean trap detection
# "A", # Check for python builtins being used as variables or parameters
"TD", # flake8-todos
"TRY", # Exception Handling AntiPatterns in Python
]
extend-exclude = [
"docs", "frontend", "tests"