10000 MNT Remove encoding declarations: `# -*- coding: utf-8 -*-` by DimitriPapadopoulos · Pull Request #21260 · scikit-learn/scikit-learn · GitHub
[go: up one dir, main page]

Skip to content

MNT Remove encoding declarations: # -*- coding: utf-8 -*- #21260

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 2 commits into from
Mar 14, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
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
8000
Diff view
Diff view
2 changes: 0 additions & 2 deletions doc/conf.py
10000
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
#
# scikit-learn documentation build configuration file, created by
# sphinx-quickstart on Fri Jan 8 09:13:42 2010.
#
Expand Down
1 change: 0 additions & 1 deletion doc/sphinxext/sphinx_issues.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""A Sphinx extension for linking to your project's issue tracker.

Copyright 2014 Steven Loria
Expand Down
1 change: 0 additions & 1 deletion sklearn/cluster/_dbscan.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""
DBSCAN: Density-Based Spatial Clustering of Applications with Noise
"""
Expand Down
1 change: 0 additions & 1 deletion sklearn/cluster/_optics.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""Ordering Points To Identify the Clustering Structure (OPTICS)

These routines execute the OPTICS algorithm, and implement various
Expand Down
1 change: 0 additions & 1 deletion sklearn/cluster/_spectral.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""Algorithms for spectral clustering"""

# Author: Gael Varoquaux <gael.varoquaux@normalesup.org>
Expand Down
1 change: 0 additions & 1 deletion sklearn/feature_extraction/tests/test_text.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
from collections.abc import Mapping
import re

Expand Down
1 change: 0 additions & 1 deletion sklearn/feature_extraction/text.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# Authors: Olivier Grisel <olivier.grisel@ensta.org>
# Mathieu Blondel <mathieu@mblondel.org>
# Lars Buitinck
Expand Down
1 change: 0 additions & 1 deletion sklearn/feature_selection/_base.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""Generic feature selection mixin"""

# Authors: G. Varoquaux, A. Gramfort, L. Buitinck, J. Nothman
Expand Down
2 changes: 0 additions & 2 deletions sklearn/gaussian_process/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-

# Author: Jan Hendrik Metzen <jhm@informatik.uni-bremen.de>
# Vincent Dubourg <vincent.dubourg@gmail.com>
# (mostly translation, see implementation details)
Expand Down
2 changes: 0 additions & 2 deletions sklearn/linear_model/_ransac.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# coding: utf-8

# Author: Johannes Schönberger
#
# License: BSD 3 clause
Expand Down
1 change: 0 additions & 1 deletion sklearn/linear_model/_theil_sen.py
Original file 9E81 line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""
A Theil-Sen Estimator for Multiple Linear Regression Model
"""
Expand Down
2 changes: 0 additions & 2 deletions sklearn/metrics/pairwise.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-

# Authors: Alexandre Gramfort <alexandre.gramfort@inria.fr>
# Mathieu Blondel <mathieu@mblondel.org>
# Robert Layton <robertlayton@gmail.com>
Expand Down
2 changes: 0 additions & 2 deletions sklearn/naive_bayes.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-

"""
The :mod:`sklearn.naive_bayes` module implements Naive Bayes algorithms. These
are supervised learning methods based on applying Bayes' theorem with strong
Expand Down
1 change: 0 additions & 1 deletion sklearn/neighbors/_nca.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# coding: utf-8
"""
Neighborhood Component Analysis
"""
Expand Down
1 change: 0 additions & 1 deletion sklearn/neighbors/_nearest_centroid.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""
Nearest Centroid Classification
"""
Expand Down
1 change: 0 additions & 1 deletion sklearn/neighbors/tests/test_nca.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# coding: utf-8
"""
Testing for Neighborhood Component Analysis module (sklearn.neighbors.nca)
"""
Expand Down
2 changes: 0 additions & 2 deletions sklearn/preprocessing/_discretization.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-

# Author: Henry Lin <hlin117@gmail.com>
# Tom Dupré la Tour

Expand Down
2 changes: 0 additions & 2 deletions sklearn/preprocessing/tests/test_encoders.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-

import re

import numpy as np
Expand Down
1 change: 0 additions & 1 deletion sklearn/random_projection.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf8
"""Random Projection transformers.

Random Projections are a simple and computationally efficient way to
Expand Down
0