-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Lock command. Upgrades dependencies (#27)
- Loading branch information
1 parent
05ac19e
commit abfd5e1
Showing
9 changed files
with
103 additions
and
124 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +0,0 @@ | ||
NAME # unused variable (pyrgo/cli/cmds/check.py:102) | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build" | |
|
||
[project] | ||
name = "pyrgo" | ||
version = "2.0.0" | ||
version = "2.1.0" | ||
readme = "README.md" | ||
requires-python = ">=3.9" | ||
classifiers = [ | ||
|
@@ -16,32 +16,32 @@ authors = [ | |
{ name = "Tomas Perez Alvarez", email = "[email protected]" }, | ||
] | ||
dependencies = [ | ||
"click", | ||
"ruff>=0.1.2", | ||
"mypy", | ||
"pip-tools>=7.0.0", | ||
"pytest", | ||
"result", | ||
"build", | ||
"loguru", | ||
"pip-audit>=2.5.5", | ||
"click < 9", | ||
"ruff < 1", | ||
"mypy < 2", | ||
"pip-tools < 8", | ||
"pytest < 8", | ||
"result < 1", | ||
"build < 2", | ||
"pip-audit < 3", | ||
"vulture < 3", | ||
"tomli", | ||
"tomli < 3", | ||
"pdoc < 15", | ||
] | ||
|
||
[project.optional-dependencies] | ||
dev = ["pytest-cov"] | ||
dev = ["pytest-cov < 5"] | ||
|
||
[project.scripts] | ||
pyrgo = "pyrgo.cli._main:cli" | ||
pyrgo = "pyrgo.cli.__main__:cli" | ||
|
||
[project.urls] | ||
Documentation = "https://github.com/Tomperez98/pyrgo#readme" | ||
Issues = "https://github.com/Tomperez98/pyrgo/issues" | ||
Source = "https://github.com/Tomperez98/pyrgo" | ||
|
||
[tool.ruff] | ||
logger-objects = ["pyrgo.logging.logger"] | ||
line-length = 88 | ||
ignore = [ | ||
"ANN101", | ||
|
@@ -121,14 +121,12 @@ precision = 1 | |
exclude_lines = ["if TYPE_CHECKING:", "raise NotImplementedError"] | ||
|
||
[tool.mypy] | ||
show_error_codes = true | ||
follow_imports = "normal" | ||
strict_optional = true | ||
warn_redundant_casts = true | ||
warn_unused_ignores = true | ||
disallow_any_generics = true | ||
check_untyped_defs = true | ||
no_implicit_reexport = true | ||
warn_unused_configs = true | ||
disallow_subclassing_any = true | ||
disallow_incomplete_defs = true | ||
|
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
"""Project code.""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,7 @@ authors = [{ name = "Author name", email = "[email protected]" }] | |
dependencies = [] | ||
|
||
[project.optional-dependencies] | ||
dev = ["pyrgo"] | ||
dev = ["pyrgo < 3"] | ||
|
||
[tool.ruff] | ||
line-length = 88 | ||
|
@@ -59,55 +59,21 @@ exclude = [ | |
] | ||
|
||
[tool.ruff.per-file-ignores] | ||
"scripts/*.py" = ["INP001"] | ||
"__init__.py" = ["D104"] | ||
"tests/*.py" = ["INP001", "S101", "D"] | ||
|
||
[tool.ruff.isort] | ||
known-first-party = ["pyrgo"] | ||
force-wrap-aliases = false | ||
combine-as-imports = true | ||
required-imports = ["from __future__ import annotations"] | ||
|
||
[tool.ruff.flake8-tidy-imports] | ||
ban-relative-imports = "all" | ||
|
||
[tool.ruff.flake8-quotes] | ||
inline-quotes = "double" | ||
|
||
[tool.black] | ||
line-length = 88 | ||
include = '\.pyi?$' | ||
|
||
[tool.pytest.ini_options] | ||
testpaths = ["tests"] | ||
xfail_strict = true | ||
addopts = ["--import-mode=importlib", "--strict-markers"] | ||
markers = ["integration: mark integration tests.", "unit: mark unittest."] | ||
|
||
[tool.coverage.run] | ||
branch = true | ||
parallel = true | ||
relative_files = true | ||
|
||
[tool.coverage.report] | ||
precision = 1 | ||
exclude_lines = [ | ||
"if __name__ == .__main__.:", | ||
"if TYPE_CHECKING:", | ||
"@overload", | ||
"raise NotImplementedError", | ||
] | ||
|
||
[tool.mypy] | ||
show_error_codes = true | ||
follow_imports = "normal" | ||
strict_optional = true | ||
warn_redundant_casts = true | ||
warn_unused_ignores = true | ||
disallow_any_generics = true | ||
check_untyped_defs = true | ||
no_implicit_reexport = true | ||
warn_unused_configs = true | ||
disallow_subclassing_any = true | ||
disallow_incomplete_defs = true | ||
|
Oops, something went wrong.