diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b1e3aff..b7b8882 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,12 +16,12 @@ jobs: python-version: "3.11" # Pin ruff version to make sure we do not break our builds at the worst times - - name: Install Ruff 0.0.244 - run: pip install ruff==0.0.244 + - name: Install Ruff 0.5.1 + run: pip install ruff==0.5.1 - # Include `--format=github` to enable automatic inline annotations. + # Include `--output-format=github` to enable automatic inline annotations. - name: Run Ruff - run: ruff check --format=github . + run: ruff check --output-format=github . test: # name: Test (${{ matrix.python-version }}, ${{ matrix.os }}) @@ -33,7 +33,7 @@ jobs: fail-fast: false matrix: # os: ["ubuntu-latest", "macos-latest", "windows-latest"] - python-version: ['3.8', '3.9', '3.10', '3.11'] + python-version: ['3.8', '3.9', '3.10', '3.11', '3.12'] defaults: run: diff --git a/pyproject.toml b/pyproject.toml index 836c6d2..3dfc193 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -21,14 +21,6 @@ filterwarnings = [ [tool.ruff] -# Enable Pyflakes `E` and `F` codes by default. -select = ["E", "F"] -ignore = [] - -# Allow autofix for all enabled rules (when `--fix`) is provided. -# fixable = ["A", "B", "C", "D", "E", "F", "..."] -# unfixable = [] - # Exclude a variety of commonly ignored directories. exclude = [ ".eggs", @@ -39,6 +31,15 @@ exclude = [ "build", "dist", ] -per-file-ignores = {} +line-length = 120 -line-length = 120 \ No newline at end of file +[tool.ruff.lint] +# Enable Pyflakes `E` and `F` codes by default. +select = ["E", "F"] +ignore = [] + +# Allow autofix for all enabled rules (when `--fix`) is provided. +# fixable = ["A", "B", "C", "D", "E", "F", "..."] +# unfixable = [] + +per-file-ignores = {} diff --git a/setup.py b/setup.py index 58d342e..405e1f1 100644 --- a/setup.py +++ b/setup.py @@ -39,6 +39,7 @@ def readlocal(fname): 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: 3.11', + 'Programming Language :: Python :: 3.12', 'Topic :: Scientific/Engineering', 'Topic :: Software Development :: Libraries', ]