8000 CI,TYP: Bump mypy to 1.4.1 by charris · Pull Request #24541 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content

CI,TYP: Bump mypy to 1.4.1 #24541

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Aug 25, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
CI: Avoid overriding MYPYPATH
This practice is actively discouraged by mypy
  • Loading branch information
BvB93 authored and charris committed Aug 25, 2023
commit 95f0a43538736049f05ed4d0dfb7c02d2a608b4c
5 changes: 2 additions & 3 deletions runtests.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,8 +194,8 @@ def main(argv):
sys.path.insert(0, site_dir_noarch)
os.environ['PYTHONPATH'] = \
os.pathsep.join((
site_dir,
site_dir_noarch,
site_dir,
site_dir_noarch,
os.environ.get('PYTHONPATH', '')
))
else:
Expand Down Expand Up @@ -256,7 +256,6 @@ def main(argv):
"pip install -r test_requirements.txt from the repo root"
)

os.environ['MYPYPATH'] = site_dir
# By default mypy won't color the output since it isn't being
# invoked from a tty.
os.environ['MYPY_FORCE_COLOR'] = '1'
Expand Down
1 change: 0 additions & 1 deletion tools/travis-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@ run_test()

if [ -n "$USE_DEBUG" ]; then
export PYTHONPATH=$PWD
export MYPYPATH=$PWD
fi

if [ -n "$RUN_COVERAGE" ]; then
Expand Down
0