Skip to content

Commit eb492a2

Browse files
rebecca-palmerjreback
authored andcommitted
Use Python 3 shebangs (pandas-dev#31147)
1 parent 212b714 commit eb492a2

12 files changed

+12
-12
lines changed

ci/print_skipped.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python
1+
#!/usr/bin/env python3
22
import os
33
import xml.etree.ElementTree as et
44

doc/make.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python
1+
#!/usr/bin/env python3
22
"""
33
Python script for building documentation.
44

doc/sphinxext/announce.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python
1+
#!/usr/bin/env python3
22
# -*- encoding:utf-8 -*-
33
"""
44
Script to generate contributor and pull request lists

pandas/core/computation/eval.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python
1+
#!/usr/bin/env python3
22

33
"""
44
Top level ``eval`` module.

pandas/tests/io/generate_legacy_storage_files.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python
1+
#!/usr/bin/env python3
22

33
"""
44
self-contained to write legacy storage pickle files

pandas/tests/plotting/common.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python
1+
#!/usr/bin/env python3
22
# coding: utf-8
33

44
import os

scripts/find_commits_touching_func.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python
1+
#!/usr/bin/env python3
22
# copyright 2013, y-p @ github
33
"""
44
Search the git history for all commits touching a named method

scripts/generate_pip_deps_from_conda.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python
1+
#!/usr/bin/env python3
22
"""
33
Convert the conda environment.yml to the pip requirements-dev.txt,
44
or check that they have the same packages (for the CI)

scripts/validate_docstrings.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python
1+
#!/usr/bin/env python3
22
"""
33
Analyze docstrings to detect errors.
44

scripts/validate_string_concatenation.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python
1+
#!/usr/bin/env python3
22
"""
33
GH #30454
44

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python
1+
#!/usr/bin/env python3
22

33
"""
44
Parts of this file were taken from the pyzmq project

web/pandas_web.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python
1+
#!/usr/bin/env python3
22
"""
33
Simple static site generator for the pandas web.
44

0 commit comments

Comments
 (0)