summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com>2021-10-06 23:24:41 +0200
committerDimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com>2021-10-06 23:24:41 +0200
commit58e66038a961bf26a75c55513c07c2795e3d9782 (patch)
treeffec019d97376052d940e01680f3fa9d5ec5876e
parent9d32403470293c102de87b4fa26ce31a6879f361 (diff)
downloadnumpy-58e66038a961bf26a75c55513c07c2795e3d9782.tar.gz
MAINT: Remove encoding declarations: # -*- coding: utf-8 -*-
In Python 3, the default source file encoding is UTF-8.
-rw-r--r--doc/neps/conf.py1
-rw-r--r--doc/source/conf.py1
-rw-r--r--numpy/core/tests/test_arrayprint.py1
-rw-r--r--numpy/core/tests/test_scalarinherit.py1
-rw-r--r--numpy/core/tests/test_scalarprint.py1
-rw-r--r--numpy/doc/constants.py1
-rw-r--r--numpy/ma/bench.py1
-rwxr-xr-xtools/changelog.py1
-rw-r--r--tools/download-wheels.py1
9 files changed, 0 insertions, 9 deletions
diff --git a/doc/neps/conf.py b/doc/neps/conf.py
index f01ee8a51..68805e50f 100644
--- a/doc/neps/conf.py
+++ b/doc/neps/conf.py
@@ -1,4 +1,3 @@
-# -*- coding: utf-8 -*-
#
# NumPy Enhancement Proposals documentation build configuration file, created by
# sphinx-quickstart on Mon Dec 11 12:45:09 2017.
diff --git a/doc/source/conf.py b/doc/source/conf.py
index d08f29e59..a7a885c34 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -1,4 +1,3 @@
-# -*- coding: utf-8 -*-
import os
import re
import sys
diff --git a/numpy/core/tests/test_arrayprint.py b/numpy/core/tests/test_arrayprint.py
index 09cc79f72..25826d8ed 100644
--- a/numpy/core/tests/test_arrayprint.py
+++ b/numpy/core/tests/test_arrayprint.py
@@ -1,4 +1,3 @@
-# -*- coding: utf-8 -*-
import sys
import gc
from hypothesis import given
diff --git a/numpy/core/tests/test_scalarinherit.py b/numpy/core/tests/test_scalarinherit.py
index cc53eb244..98d7f7cde 100644
--- a/numpy/core/tests/test_scalarinherit.py
+++ b/numpy/core/tests/test_scalarinherit.py
@@ -1,4 +1,3 @@
-# -*- coding: utf-8 -*-
""" Test printing of scalar types.
"""
diff --git a/numpy/core/tests/test_scalarprint.py b/numpy/core/tests/test_scalarprint.py
index 2f1c3bc5e..ee21d4aa5 100644
--- a/numpy/core/tests/test_scalarprint.py
+++ b/numpy/core/tests/test_scalarprint.py
@@ -1,4 +1,3 @@
-# -*- coding: utf-8 -*-
""" Test printing of scalar types.
"""
diff --git a/numpy/doc/constants.py b/numpy/doc/constants.py
index 128493d90..4db5c6390 100644
--- a/numpy/doc/constants.py
+++ b/numpy/doc/constants.py
@@ -1,4 +1,3 @@
-# -*- coding: utf-8 -*-
"""
=========
Constants
diff --git a/numpy/ma/bench.py b/numpy/ma/bench.py
index e29d54365..56865683d 100644
--- a/numpy/ma/bench.py
+++ b/numpy/ma/bench.py
@@ -1,5 +1,4 @@
#!/usr/bin/env python3
-# -*- coding: utf-8 -*-
import timeit
import numpy
diff --git a/tools/changelog.py b/tools/changelog.py
index 2bd7cde08..444d96882 100755
--- a/tools/changelog.py
+++ b/tools/changelog.py
@@ -1,5 +1,4 @@
#!/usr/bin/env python3
-# -*- encoding:utf-8 -*-
"""
Script to generate contributor and pull request lists
diff --git a/tools/download-wheels.py b/tools/download-wheels.py
index 28b3fc7ad..dd066d9ad 100644
--- a/tools/download-wheels.py
+++ b/tools/download-wheels.py
@@ -1,5 +1,4 @@
#!/usr/bin/env python3
-# -*- encoding:utf-8 -*-
"""
Script to download NumPy wheels from the Anaconda staging area.