Skip to content

Commit 3cf204a

Browse files
authored
CI add end-of-file-fixer (pandas-dev#36826)
1 parent c5637a8 commit 3cf204a

File tree

20 files changed

+16
-18
lines changed

20 files changed

+16
-18
lines changed

.github/CODE_OF_CONDUCT.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,4 +60,3 @@ and the [Swift Code of Conduct][swift].
6060
[homepage]: https://www.contributor-covenant.org
6161
[version]: https://www.contributor-covenant.org/version/1/3/0/
6262
[swift]: https://swift.org/community/#code-of-conduct
63-

.pre-commit-config.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,8 @@ repos:
4747
rev: v1.2.2
4848
hooks:
4949
- id: yesqa
50+
- repo: https://github.com/pre-commit/pre-commit-hooks
51+
rev: v3.2.0
52+
hooks:
53+
- id: end-of-file-fixer
54+
exclude: '.html$|^LICENSES/|.csv$|.txt$|.svg$|.py$'

AUTHORS.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,3 @@ pandas is distributed under a 3-clause ("Simplified" or "New") BSD
5454
license. Parts of NumPy, SciPy, numpydoc, bottleneck, which all have
5555
BSD-compatible licenses, are included. Their licenses follow the pandas
5656
license.
57-

ci/travis_process_gbq_encryption.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,3 @@ elif [[ -n ${!TRAVIS_IV_ENV} ]]; then
1010
export GBQ_PROJECT_ID='pandas-gbq-tests';
1111
echo 'Successfully decrypted gbq credentials'
1212
fi
13-

doc/data/iris.data

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,4 +148,4 @@ SepalLength,SepalWidth,PetalLength,PetalWidth,Name
148148
6.3,2.5,5.0,1.9,Iris-virginica
149149
6.5,3.0,5.2,2.0,Iris-virginica
150150
6.2,3.4,5.4,2.3,Iris-virginica
151-
5.9,3.0,5.1,1.8,Iris-virginica
151+
5.9,3.0,5.1,1.8,Iris-virginica

doc/source/development/contributing.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -837,6 +837,9 @@ to run its checks by running::
837837

838838
without having to have done ``pre-commit install`` beforehand.
839839

840+
Note that if you have conflicting installations of ``virtualenv``, then you may get an
841+
error - see `here <https://github.com/pypa/virtualenv/issues/1875>`_.
842+
840843
Backwards compatibility
841844
~~~~~~~~~~~~~~~~~~~~~~~
842845

doc/source/development/developer.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,4 +184,4 @@ As an example of fully-formed metadata:
184184
'creator': {
185185
'library': 'pyarrow',
186186
'version': '0.13.0'
187-
}}
187+
}}

doc/source/getting_started/intro_tutorials/index.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,3 @@ Getting started tutorials
1919
08_combine_dataframes
2020
09_timeseries
2121
10_text_data
22-

doc/source/getting_started/overview.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,4 +174,3 @@ License
174174
-------
175175

176176
.. literalinclude:: ../../../LICENSE
177-

doc/source/reference/general_utility_functions.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,4 +122,3 @@ Bug report function
122122
:toctree: api/
123123

124124
show_versions
125-

0 commit comments

Comments
 (0)