diff --git a/.flake8 b/.flake8 new file mode 100644 index 0000000..aa079ec --- /dev/null +++ b/.flake8 @@ -0,0 +1,2 @@ +[flake8] +max-line-length=120 diff --git a/.github/workflows/python-lint-test.yml b/.github/workflows/python-lint-test.yml index 1859a5e..db6d806 100644 --- a/.github/workflows/python-lint-test.yml +++ b/.github/workflows/python-lint-test.yml @@ -25,7 +25,7 @@ jobs: - name: Lint with flake8 run: | - flake8 --max-line-length=120 --statistics --show-source . + flake8 --statistics --show-source . - name: Lint with black run: | diff --git a/kadet/__init__.py b/kadet/__init__.py index 39fcd5d..cb47e79 100644 --- a/kadet/__init__.py +++ b/kadet/__init__.py @@ -4,7 +4,7 @@ import hashlib import json -from typing import Any, Annotated +from typing import Annotated import yaml from box import Box, BoxList from pydantic import BaseModel as PydanticBaseModel, Field