From 8fd6024cf1600d8fa0d195bb63411488aa8326d8 Mon Sep 17 00:00:00 2001 From: Asher Norland Date: Tue, 31 May 2022 18:14:58 -0400 Subject: [PATCH 1/2] Remove Dataclass --- cppython/schema.py | 1 - 1 file changed, 1 deletion(-) diff --git a/cppython/schema.py b/cppython/schema.py index 8e5c954..ec400e0 100644 --- a/cppython/schema.py +++ b/cppython/schema.py @@ -5,7 +5,6 @@ from __future__ import annotations # Required for self-referenced pydantic types from abc import abstractmethod -from dataclasses import dataclass from pathlib import Path from typing import Any, Optional From e19ca7e7f2d5f7b41d3c4fbbd72710f7566d09d5 Mon Sep 17 00:00:00 2001 From: Asher Norland Date: Wed, 1 Jun 2022 18:04:26 -0400 Subject: [PATCH 2/2] Update Chore --- cppython/schema.py | 6 +++--- pdm.lock | 19 ++++++++++--------- 2 files changed, 13 insertions(+), 12 deletions(-) diff --git a/cppython/schema.py b/cppython/schema.py index ec400e0..63b443e 100644 --- a/cppython/schema.py +++ b/cppython/schema.py @@ -23,7 +23,7 @@ class Preset(BaseModel): description: Optional[str] @validator("inherits") - def validate_str(cls, values): + def validate_str(cls, values): # pylint: disable=E0213 """ Conform to list """ @@ -93,7 +93,7 @@ class CMakePresets(BaseModel, extra=Extra.forbid): testPresets: Optional[list[TestPreset]] @validator("include") - def validate_path(cls, values): + def validate_path(cls, values): # pylint: disable=E0213 """ TODO """ @@ -116,7 +116,7 @@ class ProjectConfiguration(BaseModel): verbosity: int = 0 @validator("verbosity") - def min_max(cls, value): + def min_max(cls, value): # pylint: disable=E0213 """ TODO """ diff --git a/pdm.lock b/pdm.lock index 32901d6..ca5f2d0 100644 --- a/pdm.lock +++ b/pdm.lock @@ -74,7 +74,7 @@ dependencies = [ [[package]] name = "cppython-core" -version = "0.3.3.dev35" +version = "0.3.3.dev36" requires_python = ">=3.10" summary = "Data definitions for CPPython" dependencies = [ @@ -169,8 +169,8 @@ dependencies = [ [[package]] name = "pylint" -version = "2.13.9" -requires_python = ">=3.6.2" +version = "2.14.0" +requires_python = ">=3.7.2" summary = "python code static checker" dependencies = [ "astroid<=2.12.0-dev0,>=2.11.5", @@ -180,6 +180,7 @@ dependencies = [ "mccabe<0.8,>=0.6", "platformdirs>=2.2.0", "tomli>=1.1.0; python_version < \"3.11\"", + "tomlkit>=0.10.1", ] [[package]] @@ -366,9 +367,9 @@ content_hash = "sha256:0faf7f9fc3975f7bfc743c5e74d8f396304b96d97ac53337073dc076d {file = "coverage-6.4-pp36.pp37.pp38-none-any.whl", hash = "sha256:e637ae0b7b481905358624ef2e81d7fb0b1af55f5ff99f9ba05442a444b11e45"}, {file = "coverage-6.4.tar.gz", hash = "sha256:727dafd7f67a6e1cad808dc884bd9c5a2f6ef1f8f6d2f22b37b96cb0080d4f49"}, ] -"cppython-core 0.3.3.dev35" = [ - {file = "cppython_core-0.3.3.dev35-py3-none-any.whl", hash = "sha256:8909fe4b2e7d37d997eb726678160786a71f6ed74b73d4689ca94450dbbeeda7"}, - {file = "cppython-core-0.3.3.dev35.tar.gz", hash = "sha256:1c9ab1d45d70db03969df868b52abb18478dfd9aa7b58fdabef03e126f0f8510"}, +"cppython-core 0.3.3.dev36" = [ + {file = "cppython_core-0.3.3.dev36-py3-none-any.whl", hash = "sha256:8f0f7d8f4705417a3635443c869a8068062f05fda73d99f101ca1535974ddaa6"}, + {file = "cppython-core-0.3.3.dev36.tar.gz", hash = "sha256:9d45e929249953c05404ae13b41e882e399972b7158a35bb0b30ecc0724a17b0"}, ] "dill 0.3.5.1" = [ {file = "dill-0.3.5.1-py2.py3-none-any.whl", hash = "sha256:33501d03270bbe410c72639b350e941882a8b0fd55357580fbc873fba0c59302"}, @@ -509,9 +510,9 @@ content_hash = "sha256:0faf7f9fc3975f7bfc743c5e74d8f396304b96d97ac53337073dc076d {file = "pydantic-1.9.1-py3-none-any.whl", hash = "sha256:4988c0f13c42bfa9ddd2fe2f569c9d54646ce84adc5de84228cfe83396f3bd58"}, {file = "pydantic-1.9.1.tar.gz", hash = "sha256:1ed987c3ff29fff7fd8c3ea3a3ea877ad310aae2ef9889a119e22d3f2db0691a"}, ] -"pylint 2.13.9" = [ - {file = "pylint-2.13.9-py3-none-any.whl", hash = "sha256:705c620d388035bdd9ff8b44c5bcdd235bfb49d276d488dd2c8ff1736aa42526"}, - {file = "pylint-2.13.9.tar.gz", hash = "sha256:095567c96e19e6f57b5b907e67d265ff535e588fe26b12b5ebe1fc5645b2c731"}, +"pylint 2.14.0" = [ + {file = "pylint-2.14.0-py3-none-any.whl", hash = "sha256:ef64ce5d4c17b8906caeaf2c2914ef3036a3a1b7f4a86f5fbf6caff9067c5f63"}, + {file = "pylint-2.14.0.tar.gz", hash = "sha256:10d291ea5133645f73fc1b51ca137ad6531223c1461a5632a1db029a9bc033b5"}, ] "pyparsing 3.0.9" = [ {file = "pyparsing-3.0.9-py3-none-any.whl", hash = "sha256:5026bae9a10eeaefb61dab2f09052b9f4307d44aee4eda64b309723d8d206bbc"},