diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4b55426..d21f2f4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,8 +16,8 @@ jobs: - "3.12" runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-python@v4 + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - run: python -m pip install -r requirements.txt diff --git a/pyproject.toml b/pyproject.toml index ae64ddc..f594dc2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -24,6 +24,10 @@ module = [ ignore_missing_imports = true [tool.ruff] +src = ["."] +target-version = "py38" + +[tool.ruff.lint] # See https://github.com/charliermarsh/ruff#rules for error code definitions. select = [ "ANN", # annotations @@ -72,5 +76,3 @@ extend-ignore = [ "S603", # `subprocess` call: check for execution of untrusted input "S607", # Starting a process with a partial executable path ] -src = ["."] -target-version = "py38" diff --git a/requirements.txt b/requirements.txt index 7fc8fe5..07eef74 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,3 @@ -e . mypy -ruff~=0.1.3 +ruff~=0.2.2