Skip to content

Commit

Permalink
update dependencies & update lint config
Browse files Browse the repository at this point in the history
  • Loading branch information
thatmattlove committed Feb 17, 2024
1 parent 3435d45 commit 38198fb
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 22 deletions.
2 changes: 1 addition & 1 deletion mypy.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[mypy]
python_version = 3.6
python_version = 3.12
warn_return_any = True
warn_unused_configs = True
ignore_missing_imports = True
Expand Down
37 changes: 26 additions & 11 deletions poetry.lock

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

18 changes: 8 additions & 10 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
authors = ["Matt Love <[email protected]>"]
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
Expand All @@ -23,11 +21,11 @@ version = "0.2.0"

[tool.poetry.dependencies]
pillow = "^10.2.0"
python = ">=3.11.7,<4.0"
python = ">=3.10.0,<4.0"
reportlab = "^4.1.0"
rich = "^13.3.4"
rich = "^13.7.0"
svglib = "^1.5.1"
typer = "^0.7.0"
typer = "^0.9.0"

[tool.poetry.scripts]
favicons = "favicons:cli"
Expand All @@ -53,21 +51,21 @@ exclude = [
"__pycache__",
"test.py",
]
ignore = [
lint.ignore = [
"RET504",
"D202",
"S301",
]
line-length = 100
select = ["B", "C", "D", "E", "F", "N", "S", "RET", "W"]
lint.select = ["B", "C", "D", "E", "F", "N", "S", "RET", "W"]

[tool.ruff.pydocstyle]
[tool.ruff.lint.pydocstyle]
convention = "pep257"

[tool.ruff.mccabe]
[tool.ruff.lint.mccabe]
max-complexity = 10

[tool.ruff.per-file-ignores]
[tool.ruff.lint.per-file-ignores]
# Disable unused import warning for modules
"favicons/*/__init__.py" = ["F401"]
"favicons/__init__.py" = ["F401"]

0 comments on commit 38198fb

Please sign in to comment.