From 60f9fdf92df92d1b98101b841b681f17dcbcf238 Mon Sep 17 00:00:00 2001 From: Niels Nuyttens Date: Thu, 19 Dec 2024 11:51:17 +0100 Subject: [PATCH] Fix flake8 issues + use python 3.11 for linting --- nannyml/config.py | 2 +- setup.cfg | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/nannyml/config.py b/nannyml/config.py index 7d2ea769..a9e1d67e 100644 --- a/nannyml/config.py +++ b/nannyml/config.py @@ -9,7 +9,7 @@ import jinja2 import yaml -from pydantic import BaseModel, validator, Field, field_validator +from pydantic import BaseModel, Field, field_validator from nannyml._typing import Self from nannyml.exceptions import IOException diff --git a/setup.cfg b/setup.cfg index 42921784..2a0e3c5b 100644 --- a/setup.cfg +++ b/setup.cfg @@ -54,9 +54,9 @@ envlist = py39, py310, py311, py312, format, lint, build [gh-actions] python = 3.12: py312 - 3.11: py311 + 3.11: py311, format, lint, build 3.10: py310 - 3.9: py39, format, lint, build + 3.9: py39 [testenv] allowlist_externals = pytest