diff --git a/.editorconfig b/.editorconfig index a793daea7..98c4c88e0 100644 --- a/.editorconfig +++ b/.editorconfig @@ -11,3 +11,6 @@ trim_trailing_whitespace = true [*.{py, pyi}] indent_size = 4 + +[*.toml] +indent_size = 2 diff --git a/.github/workflows/mypy_primer.yml b/.github/workflows/mypy_primer.yml index 7b349a781..e351e6572 100644 --- a/.github/workflows/mypy_primer.yml +++ b/.github/workflows/mypy_primer.yml @@ -33,7 +33,7 @@ jobs: shell: bash run: | cd django-stubs_to_test - MYPY_VERSION=$(grep mypy== pyproject.toml | sed -n 's/ "mypy==\([^;]*\).*",/\1/p') + MYPY_VERSION=$(grep mypy== pyproject.toml | sed -n 's/ "mypy==\([^;]*\).*",/\1/p') echo "new commit" git checkout $GITHUB_SHA diff --git a/pyproject.toml b/pyproject.toml index a3c83b222..b8d693d91 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -47,28 +47,28 @@ redis = ["redis", "types-redis"] [dependency-groups] tests = [ - # Dev tools: - "pytest==8.4.2", - "pytest-mypy-plugins==3.2.0", - "pytest-shard==0.1.2", - "pytest-xdist==3.8.0", - # Django deps: - "django==5.2.6", - "mysqlclient==2.2.7", - "psycopg2-binary==2.9.10", - "jinja2==3.1.6", - "pyyaml==6.0.2", - # typing: - "mypy==1.18.1", - "django-stubs[compatible-mypy,oracle,redis]", + # Dev tools: + "pytest==8.4.2", + "pytest-mypy-plugins==3.2.0", + "pytest-shard==0.1.2", + "pytest-xdist==3.8.0", + # Django deps: + "django==5.2.6", + "mysqlclient==2.2.7", + "psycopg2-binary==2.9.10", + "jinja2==3.1.6", + "pyyaml==6.0.2", + # typing: + "mypy==1.18.1", + "django-stubs[compatible-mypy,oracle,redis]", ] pyright = [ - "pyright==1.1.405", + "pyright==1.1.405", ] dev = [ - {include-group = "tests"}, - {include-group = "pyright"}, + {include-group = "tests"}, + {include-group = "pyright"}, ] [project.urls]