diff --git a/.github/workflows/flake8.yml b/.github/workflows/flake8.yml index cd67016a33c..b1b3db4a52e 100644 --- a/.github/workflows/flake8.yml +++ b/.github/workflows/flake8.yml @@ -37,4 +37,4 @@ jobs: flake8 geonode --count --statistics - name: "Check: black" - run: black -t py310 --check geonode + run: black --check geonode diff --git a/pyproject.toml b/pyproject.toml index 65a8c055dc8..2ff50211c47 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.black] line-length = 120 -target-version = ['py37'] +target-version = ['py310', 'py311'] exclude = ''' /( geonode/.*/migrations/.*