Skip to content

Commit

Permalink
Remove shebangs from scripts
Browse files Browse the repository at this point in the history
These are not really necessary—users can always pass the script name to
the Python interpreter explicitly; not really portable; and not useful
anyway unless the execute permission bit is set on the files in
question.
  • Loading branch information
musicinmybrain committed Nov 4, 2021
1 parent 0c1e278 commit ce185f7
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion examples/exception_handling.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
cyipopt: Python wrapper for the Ipopt optimization package, written in Cython.
Expand Down
1 change: 0 additions & 1 deletion examples/hs071.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#! /usr/bin/env python
# -*- coding: utf-8 -*-
"""
cyipopt: Python wrapper for the Ipopt optimization package, written in Cython.
Expand Down
2 changes: 0 additions & 2 deletions examples/hs071_scipy_jax.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#! /usr/bin/env python3

import jax.numpy as np
import jax
from jax import jit, grad, jacfwd, jacrev
Expand Down
1 change: 0 additions & 1 deletion examples/lasso.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
cyipopt: Python wrapper for the Ipopt optimization package, written in Cython.
Expand Down
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#! /usr/bin/env python
# -*- coding: utf-8 -*-
"""
cyipopt: Python wrapper for the Ipopt optimization package, written in Cython.
Expand Down

0 comments on commit ce185f7

Please sign in to comment.