Skip to content

Commit

Permalink
bring private + public to parity
Browse files Browse the repository at this point in the history
  • Loading branch information
why-not-try-calmer committed Sep 1, 2023
1 parent a835775 commit 8257138
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ on:
pull_request:

jobs:
check_format:
lint:
if: '! github.event.pull_request.draft'
name: Check code formatting
name: Lint code base
runs-on: ubuntu-22.04
steps:
- name: Checkout repo
Expand All @@ -19,7 +19,7 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Check code formatting
- name: Pre-commit
uses: pre-commit/[email protected]

test:
Expand Down
5 changes: 4 additions & 1 deletion .mypy.ini
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
[mypy]
no_implicit_optional = False

disable_error_code = var-annotated

# Turn off mypy for all django migration packages via naming convention.
[mypy-*.migrations.*]
ignore_errors: True

# Turn off mypy for unit tests
[mypy-*.tests.*]
ignore_errors: True

0 comments on commit 8257138

Please sign in to comment.