Skip to content

Commit

Permalink
gh-38031: Remove remaining # coding: utf-8 lines in src/sage
Browse files Browse the repository at this point in the history
    
<!-- ^ Please provide a concise and informative title. -->
<!-- ^ Don't put issue numbers in the title, do this in the PR
description below. -->
<!-- ^ For example, instead of "Fixes #12345" use "Introduce new method
to calculate 1 + 2". -->
<!-- v Describe your changes below in detail. -->
<!-- v Why is this change required? What problem does it solve? -->
<!-- v If this PR resolves an open issue, please link to it here. For
example, "Fixes #12345". -->

- Split out from #37901


### 📝 Checklist

<!-- Put an `x` in all the boxes that apply. -->

- [x] The title is concise and informative.
- [ ] The description explains in detail what this PR is about.
- [x] I have linked a relevant issue or discussion.
- [ ] I have created tests covering the changes.
- [ ] I have updated the documentation and checked the documentation
preview.

### ⌛ Dependencies

<!-- List all open PRs that this PR logically depends on. For example,
-->
<!-- - #12345: short description why this is a dependency -->
<!-- - #34567: ... -->
    
URL: #38031
Reported by: Matthias Köppe
Reviewer(s): Kwankyu Lee
  • Loading branch information
Release Manager committed May 23, 2024
2 parents 1858f07 + 7de2434 commit 9ac7110
Show file tree
Hide file tree
Showing 205 changed files with 0 additions and 205 deletions.
1 change: 0 additions & 1 deletion src/sage/arith/misc.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
r"""
Miscellaneous arithmetic functions
Expand Down
1 change: 0 additions & 1 deletion src/sage/combinat/debruijn_sequence.pyx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
r"""
De Bruijn sequences
Expand Down
1 change: 0 additions & 1 deletion src/sage/combinat/fast_vector_partitions.pyx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
r"""
Brent Yorgey's fast algorithm for integer vector (multiset) partitions.
Expand Down
1 change: 0 additions & 1 deletion src/sage/combinat/matrices/dancing_links.pyx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# distutils: language = c++
"""
Dancing Links internal pyx code
Expand Down
1 change: 0 additions & 1 deletion src/sage/cpython/atexit.pyx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-

"""Utilities for interfacing with the standard library's atexit module."""

Expand Down
1 change: 0 additions & 1 deletion src/sage/cpython/string.pyx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
"""
String <-> bytes encoding/decoding
Expand Down
1 change: 0 additions & 1 deletion src/sage/crypto/boolean_function.pyx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""
Boolean functions
Expand Down
1 change: 0 additions & 1 deletion src/sage/data_structures/blas_dict.pyx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
r"""
Basic Linear Algebra Subroutines on dictionaries
Expand Down
1 change: 0 additions & 1 deletion src/sage/databases/conway.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
r"""
Frank Lübeck's tables of Conway polynomials over finite fields
"""
Expand Down
1 change: 0 additions & 1 deletion src/sage/databases/cubic_hecke_db.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
r"""
Cubic Hecke database
Expand Down
1 change: 0 additions & 1 deletion src/sage/databases/findstat.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
r"""
FindStat - the search engine for combinatorial statistics and maps
Expand Down
1 change: 0 additions & 1 deletion src/sage/databases/knotinfo_db.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
r"""
KnotInfo database
Expand Down
1 change: 0 additions & 1 deletion src/sage/databases/oeis.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
r"""
The On-Line Encyclopedia of Integer Sequences (OEIS)
Expand Down
1 change: 0 additions & 1 deletion src/sage/databases/sql_db.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
r"""
Relational (sqlite) Databases Module
Expand Down
1 change: 0 additions & 1 deletion src/sage/doctest/parsing.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
"""
Parsing docstrings
Expand Down
1 change: 0 additions & 1 deletion src/sage/doctest/reporting.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
r"""
Reporting doctest results
Expand Down
1 change: 0 additions & 1 deletion src/sage/dynamics/arithmetic_dynamics/projective_ds.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
r"""
Dynamical systems on projective schemes
Expand Down
1 change: 0 additions & 1 deletion src/sage/dynamics/cellular_automata/elementary.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
"""
Elementary Cellular Automata
Expand Down
1 change: 0 additions & 1 deletion src/sage/dynamics/cellular_automata/glca.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
"""
Graftal Lace Cellular Automata
Expand Down
1 change: 0 additions & 1 deletion src/sage/features/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
r"""
Testing for features of the environment at runtime
Expand Down
1 change: 0 additions & 1 deletion src/sage/features/csdp.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
r"""
Feature for testing the presence of ``csdp``
"""
Expand Down
1 change: 0 additions & 1 deletion src/sage/features/ecm.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
r"""
Feature for testing the presence of ``ecm`` or ``gmp-ecm``
"""
Expand Down
1 change: 0 additions & 1 deletion src/sage/features/lrs.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
r"""
Feature for testing the presence of ``lrslib``
"""
Expand Down
1 change: 0 additions & 1 deletion src/sage/features/msolve.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
r"""
Feature for testing the presence of msolve
Expand Down
1 change: 0 additions & 1 deletion src/sage/features/pandoc.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
r"""
Feature for testing the presence of ``pandoc``
"""
Expand Down
1 change: 0 additions & 1 deletion src/sage/game_theory/normal_form_game.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
r"""
Normal form games with N players.
Expand Down
1 change: 0 additions & 1 deletion src/sage/games/quantumino.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
r"""
Family Games America's Quantumino solver
Expand Down
1 change: 0 additions & 1 deletion src/sage/graphs/base/graph_backends.pyx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
r"""
Backends for Sage (di)graphs
Expand Down
1 change: 0 additions & 1 deletion src/sage/graphs/generic_graph_pyx.pyx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""
GenericGraph Cython functions
Expand Down
1 change: 0 additions & 1 deletion src/sage/graphs/graph_decompositions/clique_separators.pyx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# cython: binding=True
# distutils: language = c++
r"""
Expand Down
1 change: 0 additions & 1 deletion src/sage/graphs/path_enumeration.pyx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# cython: binding=True
# distutils: language = c++
r"""
Expand Down
1 change: 0 additions & 1 deletion src/sage/graphs/strongly_regular_db.pyx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
r"""
Database of strongly regular graphs
Expand Down
1 change: 0 additions & 1 deletion src/sage/graphs/traversals.pyx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# cython: binding=True
# distutils: language = c++
r"""
Expand Down
1 change: 0 additions & 1 deletion src/sage/homology/chain_complex.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
r"""
Chain complexes
Expand Down
1 change: 0 additions & 1 deletion src/sage/homology/chain_homotopy.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
r"""
Chain homotopies and chain contractions
Expand Down
1 change: 0 additions & 1 deletion src/sage/interfaces/frobby.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
r"""
Interface to Frobby for fast computations on monomial ideals.
Expand Down
1 change: 0 additions & 1 deletion src/sage/interfaces/gap.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
r"""
Interface to GAP
Expand Down
1 change: 0 additions & 1 deletion src/sage/interfaces/genus2reduction.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
r"""
Conductor and reduction types for genus 2 curves
Expand Down
1 change: 0 additions & 1 deletion src/sage/interfaces/maxima_abstract.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
r"""
Abstract interface to Maxima
Expand Down
1 change: 0 additions & 1 deletion src/sage/interfaces/r.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
r"""
Interfaces to R
Expand Down
1 change: 0 additions & 1 deletion src/sage/knots/gauss_code.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""
Helper functions related to Gauss codes of knots
Expand Down
1 change: 0 additions & 1 deletion src/sage/knots/knot.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
r"""
Knots
Expand Down
1 change: 0 additions & 1 deletion src/sage/knots/knotinfo.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
r"""
Access to the KnotInfo database
Expand Down
1 change: 0 additions & 1 deletion src/sage/lfunctions/pari.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""
`L`-functions from PARI
Expand Down
1 change: 0 additions & 1 deletion src/sage/libs/giac/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""
Wrappers for Giac functions
Expand Down
1 change: 0 additions & 1 deletion src/sage/libs/linkages/padics/Polynomial_ram.pxi
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
r"""
This linkage file implements the padics API for ramified extensions using Sage
Polynomials.
Expand Down
1 change: 0 additions & 1 deletion src/sage/manifolds/differentiable/integrated_curve.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
r"""
Integrated Curves and Geodesics in Manifolds
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
r"""
Levi-Civita Connections
Expand Down
1 change: 0 additions & 1 deletion src/sage/manifolds/differentiable/manifold.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
r"""
Differentiable Manifolds
Expand Down
1 change: 0 additions & 1 deletion src/sage/manifolds/section_module.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
r"""
Section Modules
Expand Down
1 change: 0 additions & 1 deletion src/sage/manifolds/subset.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
r"""
Subsets of Topological Manifolds

Expand Down
1 change: 0 additions & 1 deletion src/sage/manifolds/vector_bundle.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
r"""
Topological Vector Bundle

Expand Down
1 change: 0 additions & 1 deletion src/sage/matrix/matrix0.pyx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""
Base class for matrices, part 0

Expand Down
1 change: 0 additions & 1 deletion src/sage/matrix/matrix_gf2e_dense.pyx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# distutils: libraries = m4rie M4RI_LIBRARIES m
# distutils: library_dirs = M4RI_LIBDIR
# distutils: include_dirs = M4RI_INCDIR
Expand Down
1 change: 0 additions & 1 deletion src/sage/matrix/matrix_integer_dense.pyx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# distutils: extra_compile_args = NTL_CFLAGS M4RI_CFLAGS
# distutils: libraries = iml NTL_LIBRARIES gmp m CBLAS_LIBRARIES
# distutils: library_dirs = NTL_LIBDIR CBLAS_LIBDIR
Expand Down
1 change: 0 additions & 1 deletion src/sage/matrix/matrix_integer_sparse.pyx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
r"""
Sparse integer matrices

Expand Down
1 change: 0 additions & 1 deletion src/sage/matrix/matrix_mod2_dense.pyx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# distutils: libraries = M4RI_LIBRARIES GDLIB_LIBRARIES LIBPNG_LIBRARIES ZLIB_LIBRARIES
# distutils: library_dirs = M4RI_LIBDIR GDLIB_LIBDIR LIBPNG_LIBDIR ZLIB_LIBDIR
# distutils: include_dirs = M4RI_INCDIR GDLIB_INCDIR LIBPNG_INCDIR ZLIB_INCDIR
Expand Down
1 change: 0 additions & 1 deletion src/sage/matrix/special.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""
Constructors for special matrices

Expand Down
1 change: 0 additions & 1 deletion src/sage/matroids/matroid.pyx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
r"""
The abstract Matroid class

Expand Down
1 change: 0 additions & 1 deletion src/sage/misc/callable_dict.pyx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""
Callable dictionaries
"""
Expand Down
1 change: 0 additions & 1 deletion src/sage/misc/lazy_string.pyx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""
Lazy strings

Expand Down
1 change: 0 additions & 1 deletion src/sage/misc/parser.pyx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""
A parser for symbolic equations and expressions

Expand Down
1 change: 0 additions & 1 deletion src/sage/modular/pollack_stevens/dist.pyx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# distutils: libraries = gmp
# distutils: extra_compile_args = -D_XPG6
"""
Expand Down
1 change: 0 additions & 1 deletion src/sage/modules/with_basis/indexed_element.pyx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
r"""
An element in an indexed free module

Expand Down
1 change: 0 additions & 1 deletion src/sage/parallel/map_reduce.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
r"""
Parallel computations using RecursivelyEnumeratedSet and Map-Reduce

Expand Down
1 change: 0 additions & 1 deletion src/sage/plot/graphics.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
r"""
Graphics objects

Expand Down
1 change: 0 additions & 1 deletion src/sage/plot/point.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
r"""
Points

Expand Down
1 change: 0 additions & 1 deletion src/sage/quivers/path_semigroup.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
"""
Path Semigroups
"""
Expand Down
1 change: 0 additions & 1 deletion src/sage/repl/display/fancy_repr.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""
Representations of objects
"""
Expand Down
1 change: 0 additions & 1 deletion src/sage/repl/display/formatter.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
r"""
IPython Displayhook Formatters

Expand Down
1 change: 0 additions & 1 deletion src/sage/repl/display/pretty_print.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""
The Sage pretty printer

Expand Down
1 change: 0 additions & 1 deletion src/sage/repl/display/util.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""
Utility functions for pretty-printing

Expand Down
1 change: 0 additions & 1 deletion src/sage/repl/image.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
"""
Sage Wrapper for Bitmap Images

Expand Down
1 change: 0 additions & 1 deletion src/sage/repl/ipython_kernel/interact.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
r"""
Interacts for the Sage Jupyter notebook

Expand Down
1 change: 0 additions & 1 deletion src/sage/repl/ipython_kernel/kernel.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""
The Sage ZMQ Kernel

Expand Down
1 change: 0 additions & 1 deletion src/sage/repl/ipython_kernel/widgets_sagenb.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
r"""
Functions to construct widgets, based on the old SageNB interface.

Expand Down
1 change: 0 additions & 1 deletion src/sage/repl/preparse.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""
The Sage Preparser

Expand Down
1 change: 0 additions & 1 deletion src/sage/repl/rich_output/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-

from .display_manager import get_display_manager
from .pretty_print import pretty_print
1 change: 0 additions & 1 deletion src/sage/repl/rich_output/backend_base.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
r"""
Base Class for Backends

Expand Down
1 change: 0 additions & 1 deletion src/sage/repl/rich_output/backend_doctest.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
"""
The backend used for doctests

Expand Down
Loading

0 comments on commit 9ac7110

Please sign in to comment.