diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index c400f91..75ed203 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -12,14 +12,10 @@ Please complete the following checklist when submitting a PR. The PR will not be Make sure that the tests passed and the coverage is sufficient by running `python run_pytests.py --tests_folder=tests` or `pytest tests --cov=src --cov-report=term-missing`. - - [ ] All new functions and code are clearly documented. - - [ ] The code is formatted using Black. You can do this by running `black src tests`. -- - [ ] The imports are sorted using isort. You can do this by running `isort src tests`. - - [ ] The code is type-checked using Mypy. You can do this by running `mypy src tests`. diff --git a/.github/workflows/build_dist.yml b/.github/workflows/build_dist.yml index ecd718a..553b3c0 100644 --- a/.github/workflows/build_dist.yml +++ b/.github/workflows/build_dist.yml @@ -12,6 +12,7 @@ permissions: statuses: write issues: write discussions: write + id-token: write jobs: Build-Dist: diff --git a/pyproject.toml b/pyproject.toml index ff96af6..a5dab4a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -101,3 +101,6 @@ ignore_missing_imports = true [tool.black] line-length = 120 + +[tool.isort] +profile = "black"