Skip to content

Commit 2ddbc02

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 18ec4eb commit 2ddbc02

File tree

46 files changed

+1471
-9520
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+1471
-9520
lines changed

.devcontainer/noop.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
This file is copied into the container along with environment.yml* from the
2-
parent folder. This is done to prevent the Dockerfile COPY instruction from
2+
parent folder. This is done to prevent the Dockerfile COPY instruction from
33
failing if no environment.yml is found.

checkenv.py

Lines changed: 19 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,29 @@ def check_import(packagename):
99
else:
1010
return False
1111

12-
assert sys.version_info.major >= 3 and sys.version_info.minor >= 6, 'Please install Python 3.6!'
1312

14-
packages = ['jupyter', 'pymc3', 'seaborn', 'matplotlib', 'numpy', 'scipy',
15-
'pandas', 'tqdm', 'jupyterlab']
13+
assert (
14+
sys.version_info.major >= 3 and sys.version_info.minor >= 6
15+
), "Please install Python 3.6!"
16+
17+
packages = [
18+
"jupyter",
19+
"pymc3",
20+
"seaborn",
21+
"matplotlib",
22+
"numpy",
23+
"scipy",
24+
"pandas",
25+
"tqdm",
26+
"jupyterlab",
27+
]
1628

1729
all_passed = True
1830

1931
for p in packages:
20-
assert check_import(p),\
21-
'{0} not present. Please install via pip or conda.'.format(p)
32+
assert check_import(
33+
p
34+
), "{0} not present. Please install via pip or conda.".format(p)
2235

2336
if all_passed:
24-
print('All checks passed. Your environment is good to go!')
37+
print("All checks passed. Your environment is good to go!")

data/baseballdb/README.txt

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,11 @@ Chadwick Baseball Bureau (http://www.chadwick-bureau.com),
1010
from its Register of baseball personnel.
1111

1212
Player performance data for 1871 through 2014 is based on the
13-
Lahman Baseball Database, version 2015-01-24, which is
13+
Lahman Baseball Database, version 2015-01-24, which is
1414
Copyright (C) 1996-2015 by Sean Lahman.
1515

1616
The tables Parks.csv and HomeGames.csv are based on the game logs
1717
and park code table published by Retrosheet.
1818
This information is available free of charge from and is copyrighted
19-
by Retrosheet. Interested parties may contact Retrosheet at
19+
by Retrosheet. Interested parties may contact Retrosheet at
2020
http://www.retrosheet.org.
21-
22-

data/baseballdb/core/AwardsManagers.csv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,5 +176,5 @@ showabu99,BBWAA Manager of the Year,2014,AL,,
176176
willima04,BBWAA Manager of the Year,2014,NL,,
177177
banisje01,BBWAA Manager of the Year,2015,AL,,
178178
maddojo99,BBWAA Manager of the Year,2015,NL,,
179-
francte01,BBWAA Manager of the Year,2016,AL,,
179+
francte01,BBWAA Manager of the Year,2016,AL,,
180180
roberda07,BBWAA Manager of the Year,2016,NL,,

0 commit comments

Comments
 (0)