Repository: jldbc/pybaseball (language: python)

Issue:
add error message for pre-2008 requests
probably not the most elegant solution but it works.  lines 74-77 are where the year is checked. Rest of changes are just trying to get rid of linter/PEP8 errors


Discussion / hints:

Fix patch:
diff --git a/mypy.ini b/mypy.ini
index 48dced7f..829d3451 100644
--- a/mypy.ini
+++ b/mypy.ini
@@ -1,5 +1,5 @@
 [mypy]
-python_version = 3.6
+python_version = 3.8
 warn_return_any = True
 warn_unused_configs = True
 disallow_untyped_defs = True


Test patch:
diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml
index da2abe25..dd215fe0 100644
--- a/.github/workflows/pytest.yml
+++ b/.github/workflows/pytest.yml
@@ -12,10 +12,10 @@ jobs:
     strategy:
       matrix:
         python-version:
-        - 3.6
-        - 3.7
-        - 3.8
-        - 3.9
+        - "3.8"
+        - "3.9"
+        - "3.10"
+        - "3.11"
     name: Install dependencies and test
     runs-on: ubuntu-latest
     steps: