Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
FreddyFox892 committed Sep 24, 2024
1 parent e11a505 commit 72e2d91
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 10 deletions.
5 changes: 2 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "pvframework"
description = "This framework enables to easily create validation functions (both sync or async) and managers to easily apply this validation logic onto arbitrary object structures."
license = { text = "MIT" }
requires-python = ">=3.10"
requires-python = ">=3.11"
authors = [{ name = "Hochfrequenz Unternehmensberatung GmbH", email = "[email protected]" }]
keywords = ["python", "validation", "structures"]
classifiers = [
Expand All @@ -13,7 +13,6 @@ classifiers = [
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
Expand All @@ -34,7 +33,7 @@ formatting = [
"isort==5.13.2"
]
linting = [
"pylint==3.2.7"
"pylint==3.3.1"
]
spellcheck = [
"codespell==2.3.0"
Expand Down
6 changes: 2 additions & 4 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#
# This file is autogenerated by pip-compile with Python 3.11
# This file is autogenerated by pip-compile with Python 3.12
# by the following command:
#
# pip-compile '.\requirements.in'
# pip-compile requirements.in
#
bidict==0.23.1
# via -r requirements.in
Expand All @@ -12,5 +12,3 @@ networkx==3.3
# via -r requirements.in
typeguard==4.1.5
# via -r requirements.in
typing-extensions==4.8.0
# via typeguard
4 changes: 2 additions & 2 deletions src/pvframework/errors.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ class ValidationError(RuntimeError):
A unified schema for error messages occurring during validation.
"""

# pylint: disable=too-many-arguments
# pylint: disable=too-many-arguments, too-many-positional-arguments
def __init__(
self,
message_detail: str,
Expand Down Expand Up @@ -179,7 +179,7 @@ def __init__(self, data_set: DataSetT, logger: logging.Logger):
self.warning_excs: dict[MappedValidatorT, list[ValidationError]] = {}
self._logger = logger

# pylint: disable=too-many-arguments
# pylint: disable=too-many-arguments, too-many-positional-arguments
async def catch(
self,
msg: str,
Expand Down
2 changes: 1 addition & 1 deletion src/pvframework/validator.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ class Parameter(Generic[DataSetT]):
Encapsulates a single parameter. A parameter must have an ID for better error output.
"""

# pylint: disable=too-many-arguments
# pylint: disable=too-many-arguments, too-many-positional-arguments
def __init__(self, mapped_validator: MappedValidatorT, name: str, value: Any, param_id: str, provided: bool):
self.mapped_validator = mapped_validator
self.name = name
Expand Down

0 comments on commit 72e2d91

Please sign in to comment.