diff options
| -rw-r--r-- | .github/workflows/ci.yml | 14 | ||||
| -rw-r--r-- | pyproject.toml | 3 |
2 files changed, 17 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 076e36d..83d230f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,7 +7,21 @@ on: workflow_dispatch: jobs: + lint: + runs-on: ubuntu-latest + name: Linting + steps: + - name: Checkout + uses: actions/checkout@v6 + - name: Set up Python + uses: actions/setup-python@v6 + with: + python-version: '3.x' + - name: Run black + uses: psf/black@stable + test_local: + needs: [lint] runs-on: ubuntu-latest strategy: matrix: diff --git a/pyproject.toml b/pyproject.toml index df106ef..b4626c1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -37,3 +37,6 @@ cgitize = "cgitize.main:main" packages = ["cgitize"] [tool.setuptools_scm] + +[tool.black] +skip-string-normalization = true |
