Skip to content

Commit

Permalink
[DEV-103519] Try adding current directory to PTYHONPATH
Browse files Browse the repository at this point in the history
  • Loading branch information
JVenberg committed Feb 22, 2024
1 parent 2f6536f commit 389a8c7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/lint-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ jobs:
pip install -q Django==${{ matrix.django-version }}
pip install -e .[flake8,tests]
- name: Add current directory to PYTHONPATH
run: echo "PYTHONPATH=$PWD" >> $GITHUB_ENV

- name: Lint with flake8
run: flake8

Expand Down
6 changes: 3 additions & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ lines_after_imports=2
use_parentheses=True

[tool:pytest]
django_find_project = false
DJANGO_SETTINGS_MODULE = test_settings
python_files = test_*.py
django_find_project=false
DJANGO_SETTINGS_MODULE=test_settings
python_files=test_*.py

0 comments on commit 389a8c7

Please sign in to comment.