warn-scraper 1.2.52__tar.gz → 1.2.100__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/.github/workflows/continuous-deployment.yml +18 -90
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/.pre-commit-config.yaml +10 -7
- {warn-scraper-1.2.52/warn_scraper.egg-info → warn_scraper-1.2.100}/PKG-INFO +9 -4
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/Pipfile +20 -3
- warn_scraper-1.2.100/Pipfile.lock +2379 -0
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/setup.py +8 -3
- warn_scraper-1.2.100/tests/cassettes/test_cached_detail_pages.yaml +495 -0
- warn_scraper-1.2.100/tests/cassettes/test_cached_search_results.yaml +353 -0
- warn_scraper-1.2.100/tests/cassettes/test_missing_detail_page_values.yaml +348 -0
- warn_scraper-1.2.100/tests/cassettes/test_no_results.yaml +172 -0
- warn_scraper-1.2.100/tests/cassettes/test_paged_results.yaml +359 -0
- warn_scraper-1.2.100/tests/cassettes/test_scrape_integration.yaml +495 -0
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/warn/cache.py +1 -1
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/warn/scrapers/ca.py +38 -32
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/warn/scrapers/co.py +27 -7
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/warn/scrapers/ct.py +15 -3
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/warn/scrapers/dc.py +18 -9
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/warn/scrapers/de.py +8 -3
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/warn/scrapers/fl.py +3 -3
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/warn/scrapers/ga.py +9 -5
- warn_scraper-1.2.100/warn/scrapers/hi.py +144 -0
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/warn/scrapers/id.py +22 -9
- warn_scraper-1.2.100/warn/scrapers/ky.py +151 -0
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/warn/scrapers/la.py +9 -9
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/warn/scrapers/md.py +50 -11
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/warn/scrapers/mo.py +0 -1
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/warn/scrapers/mt.py +10 -6
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/warn/scrapers/nj.py +0 -1
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/warn/scrapers/oh.py +8 -5
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/warn/scrapers/or.py +15 -9
- warn_scraper-1.2.100/warn/scrapers/ri.py +139 -0
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/warn/scrapers/sc.py +0 -3
- warn_scraper-1.2.100/warn/scrapers/tn.py +94 -0
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/warn/scrapers/tx.py +7 -5
- warn_scraper-1.2.100/warn/scrapers/va.py +246 -0
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/warn/scrapers/wa.py +14 -11
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/warn/scrapers/wi.py +1 -1
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/warn/utils.py +30 -4
- {warn-scraper-1.2.52 → warn_scraper-1.2.100/warn_scraper.egg-info}/PKG-INFO +9 -4
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/warn_scraper.egg-info/SOURCES.txt +0 -1
- warn_scraper-1.2.100/warn_scraper.egg-info/requires.txt +14 -0
- warn-scraper-1.2.52/Pipfile.lock +0 -1595
- warn-scraper-1.2.52/tests/cassettes/test_cached_detail_pages.yaml +0 -708
- warn-scraper-1.2.52/tests/cassettes/test_cached_search_results.yaml +0 -494
- warn-scraper-1.2.52/tests/cassettes/test_delete.yaml +0 -2598
- warn-scraper-1.2.52/tests/cassettes/test_missing_detail_page_values.yaml +0 -483
- warn-scraper-1.2.52/tests/cassettes/test_no_results.yaml +0 -239
- warn-scraper-1.2.52/tests/cassettes/test_paged_results.yaml +0 -499
- warn-scraper-1.2.52/tests/cassettes/test_scrape_integration.yaml +0 -706
- warn-scraper-1.2.52/warn/scrapers/hi.py +0 -98
- warn-scraper-1.2.52/warn/scrapers/ky.py +0 -140
- warn-scraper-1.2.52/warn/scrapers/ri.py +0 -75
- warn-scraper-1.2.52/warn/scrapers/tn.py +0 -160
- warn-scraper-1.2.52/warn/scrapers/va.py +0 -63
- warn-scraper-1.2.52/warn_scraper.egg-info/requires.txt +0 -9
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/.devcontainer/devcontainer.json +0 -0
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/.github/dependabot.yml.disabled +0 -0
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/.gitignore +0 -0
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/LICENSE +0 -0
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/MANIFEST.in +0 -0
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/Makefile +0 -0
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/README.md +0 -0
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/docs/Makefile +0 -0
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/docs/_static/R42693.pdf +0 -0
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/docs/_static/gao-03-1003.pdf +0 -0
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/docs/_static/releasing-actions-finished.png +0 -0
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/docs/_static/releasing-actions-start.png +0 -0
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/docs/_static/releasing-changelog-button.png +0 -0
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/docs/_static/releasing-changelog-entered.png +0 -0
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/docs/_static/releasing-draft-button.png +0 -0
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/docs/_static/releasing-name-release.png +0 -0
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/docs/_static/releasing-name-tag.png +0 -0
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/docs/_static/releasing-publish-button.png +0 -0
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/docs/_static/releasing-pypi.png +0 -0
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/docs/_static/releasing-release-published.png +0 -0
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/docs/_static/releasing-releases-button.png +0 -0
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/docs/_static/releasing-tag-button.png +0 -0
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/docs/_templates/sources.md.tmpl +0 -0
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/docs/conf.py +0 -0
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/docs/contributing.rst +0 -0
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/docs/index.rst +0 -0
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/docs/make.bat +0 -0
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/docs/reference.rst +0 -0
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/docs/releasing.md +0 -0
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/docs/requirements.txt +0 -0
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/docs/scrapers/al.md +0 -0
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/docs/scrapers/az.md +0 -0
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/docs/scrapers/ca.md +0 -0
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/docs/scrapers/co.md +0 -0
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/docs/scrapers/dc.md +0 -0
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/docs/scrapers/de.md +0 -0
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/docs/scrapers/ia.md +0 -0
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/docs/scrapers/in.md +0 -0
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/docs/scrapers/job_center.md +0 -0
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/docs/scrapers/ks.md +0 -0
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/docs/scrapers/md.md +0 -0
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/docs/scrapers/me.md +0 -0
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/docs/scrapers/mo.md +0 -0
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/docs/scrapers/ny.md +0 -0
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/docs/scrapers/ok.md +0 -0
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/docs/scrapers/or.md +0 -0
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/docs/scrapers/sc.md +0 -0
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/docs/scrapers/tx.md +0 -0
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/docs/scrapers/ut.md +0 -0
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/docs/scrapers/va.md +0 -0
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/docs/scrapers/vt.md +0 -0
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/docs/scrapers/wi.md +0 -0
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/docs/sources.md +0 -0
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/docs/usage.md +0 -0
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/setup.cfg +0 -0
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/tests/__init__.py +0 -0
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/tests/conftest.py +0 -0
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/tests/fixtures/2021_page_1.html +0 -0
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/tests/fixtures/2021_page_2.html +0 -0
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/tests/test_cache.py +0 -0
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/tests/test_delete.py +0 -0
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/tests/test_job_center.py +0 -0
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/tests/test_job_center_cache.py +0 -0
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/tests/test_openpyxl.py +0 -0
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/warn/__init__.py +0 -0
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/warn/cli.py +0 -0
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/warn/platforms/__init__.py +0 -0
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/warn/platforms/job_center/__init__.py +0 -0
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/warn/platforms/job_center/cache.py +0 -0
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/warn/platforms/job_center/site.py +0 -0
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/warn/platforms/job_center/urls.py +0 -0
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/warn/platforms/job_center/utils.py +0 -0
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/warn/runner.py +0 -0
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/warn/scrapers/__init__.py +0 -0
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/warn/scrapers/ak.py +0 -0
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/warn/scrapers/al.py +0 -0
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/warn/scrapers/az.py +0 -0
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/warn/scrapers/ia.py +0 -0
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/warn/scrapers/il.py +0 -0
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/warn/scrapers/in.py +0 -0
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/warn/scrapers/ks.py +0 -0
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/warn/scrapers/me.py +0 -0
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/warn/scrapers/mi.py +0 -0
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/warn/scrapers/ne.py +0 -0
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/warn/scrapers/nm.py +0 -0
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/warn/scrapers/ny.py +0 -0
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/warn/scrapers/ok.py +0 -0
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/warn/scrapers/sd.py +0 -0
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/warn/scrapers/ut.py +0 -0
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/warn/scrapers/vt.py +0 -0
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/warn_scraper.egg-info/dependency_links.txt +0 -0
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/warn_scraper.egg-info/entry_points.txt +0 -0
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/warn_scraper.egg-info/not-zip-safe +0 -0
- {warn-scraper-1.2.52 → warn_scraper-1.2.100}/warn_scraper.egg-info/top_level.txt +0 -0
@@ -5,63 +5,23 @@ on:
|
|
5
5
|
workflow_dispatch:
|
6
6
|
|
7
7
|
jobs:
|
8
|
-
|
9
|
-
name: Lint
|
8
|
+
pre-commit:
|
9
|
+
name: Lint and format with pre-commit
|
10
10
|
runs-on: ubuntu-latest
|
11
11
|
steps:
|
12
12
|
- id: checkout
|
13
13
|
name: Checkout
|
14
|
-
uses: actions/checkout@
|
14
|
+
uses: actions/checkout@v4
|
15
15
|
|
16
16
|
- id: setup-python
|
17
17
|
name: Setup Python
|
18
|
-
uses: actions/setup-python@
|
18
|
+
uses: actions/setup-python@v5
|
19
19
|
with:
|
20
20
|
python-version: '3.9'
|
21
|
-
cache: 'pipenv'
|
22
|
-
|
23
|
-
- id: install-pipenv
|
24
|
-
name: Install pipenv
|
25
|
-
run: curl https://raw.githubusercontent.com/pypa/pipenv/master/get-pipenv.py | python
|
26
|
-
shell: bash
|
27
|
-
|
28
|
-
- id: install-python-dependencies
|
29
|
-
name: Install Python dependencies
|
30
|
-
run: pipenv sync --dev
|
31
|
-
shell: bash
|
32
|
-
|
33
|
-
- id: lint
|
34
|
-
name: Lint
|
35
|
-
run: make lint
|
36
|
-
|
37
|
-
mypy-python:
|
38
|
-
name: Static type check
|
39
|
-
runs-on: ubuntu-latest
|
40
|
-
steps:
|
41
|
-
- id: checkout
|
42
|
-
name: Checkout
|
43
|
-
uses: actions/checkout@v3
|
44
|
-
|
45
|
-
- id: setup-python
|
46
|
-
name: Setup Python
|
47
|
-
uses: actions/setup-python@v4
|
48
|
-
with:
|
49
|
-
python-version: '3.9'
|
50
|
-
cache: 'pipenv'
|
51
|
-
|
52
|
-
- id: install-pipenv
|
53
|
-
name: Install pipenv
|
54
|
-
run: curl https://raw.githubusercontent.com/pypa/pipenv/master/get-pipenv.py | python
|
55
|
-
shell: bash
|
56
21
|
|
57
|
-
- id:
|
58
|
-
name:
|
59
|
-
|
60
|
-
shell: bash
|
61
|
-
|
62
|
-
- id: mypy
|
63
|
-
name: Mypy
|
64
|
-
run: make mypy
|
22
|
+
- id: pre-commit
|
23
|
+
name: Pre-commit
|
24
|
+
uses: pre-commit/action@v3.0.1
|
65
25
|
|
66
26
|
test-docs:
|
67
27
|
name: Test Sphinx build
|
@@ -69,11 +29,11 @@ jobs:
|
|
69
29
|
steps:
|
70
30
|
- id: checkout
|
71
31
|
name: Checkout
|
72
|
-
uses: actions/checkout@
|
32
|
+
uses: actions/checkout@v4
|
73
33
|
|
74
34
|
- id: setup-python
|
75
35
|
name: Setup Python
|
76
|
-
uses: actions/setup-python@
|
36
|
+
uses: actions/setup-python@v5
|
77
37
|
with:
|
78
38
|
python-version: '3.9'
|
79
39
|
cache: 'pipenv'
|
@@ -98,7 +58,7 @@ jobs:
|
|
98
58
|
|
99
59
|
- id: save
|
100
60
|
name: Save artifact
|
101
|
-
uses: actions/upload-artifact@
|
61
|
+
uses: actions/upload-artifact@v4
|
102
62
|
with:
|
103
63
|
name: docs-${{ github.run_number }}
|
104
64
|
path: ./docs
|
@@ -107,17 +67,17 @@ jobs:
|
|
107
67
|
test-python:
|
108
68
|
strategy:
|
109
69
|
matrix:
|
110
|
-
python: ["3.7", "3.8", "3.9", "3.10"]
|
70
|
+
python: ["3.7", "3.8", "3.9", "3.10", "3.12",]
|
111
71
|
name: Test Python code
|
112
72
|
runs-on: ubuntu-latest
|
113
73
|
steps:
|
114
74
|
- id: checkout
|
115
75
|
name: Checkout
|
116
|
-
uses: actions/checkout@
|
76
|
+
uses: actions/checkout@v4
|
117
77
|
|
118
78
|
- id: setup-python
|
119
79
|
name: Setup Python
|
120
|
-
uses: actions/setup-python@
|
80
|
+
uses: actions/setup-python@v5
|
121
81
|
with:
|
122
82
|
python-version: '3.9'
|
123
83
|
cache: 'pipenv'
|
@@ -147,11 +107,11 @@ jobs:
|
|
147
107
|
steps:
|
148
108
|
- id: checkout
|
149
109
|
name: Checkout
|
150
|
-
uses: actions/checkout@
|
110
|
+
uses: actions/checkout@v4
|
151
111
|
|
152
112
|
- id: setup-python
|
153
113
|
name: Setup Python
|
154
|
-
uses: actions/setup-python@
|
114
|
+
uses: actions/setup-python@v5
|
155
115
|
with:
|
156
116
|
python-version: '3.9'
|
157
117
|
cache: 'pipenv'
|
@@ -176,44 +136,12 @@ jobs:
|
|
176
136
|
|
177
137
|
- id: save
|
178
138
|
name: Save artifact
|
179
|
-
uses: actions/upload-artifact@
|
139
|
+
uses: actions/upload-artifact@v4
|
180
140
|
with:
|
181
141
|
name: test-release-${{ github.run_number }}
|
182
142
|
path: ./dist
|
183
143
|
if-no-files-found: error
|
184
144
|
|
185
|
-
test-release:
|
186
|
-
name: Test PyPI release
|
187
|
-
runs-on: ubuntu-latest
|
188
|
-
needs: [test-build]
|
189
|
-
if: startsWith(github.ref, 'refs/tags') == 0
|
190
|
-
steps:
|
191
|
-
- id: setup-python
|
192
|
-
name: Setup Python
|
193
|
-
uses: actions/setup-python@v4
|
194
|
-
with:
|
195
|
-
python-version: '3.9'
|
196
|
-
|
197
|
-
- id: fetch
|
198
|
-
name: Fetch artifact
|
199
|
-
uses: actions/download-artifact@v3
|
200
|
-
with:
|
201
|
-
name: test-release-${{ github.run_number }}
|
202
|
-
path: ./dist
|
203
|
-
|
204
|
-
- id: publish
|
205
|
-
name: Publish release
|
206
|
-
uses: pypa/gh-action-pypi-publish@release/v1
|
207
|
-
env:
|
208
|
-
PYPI_API_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
|
209
|
-
if: env.PYPI_API_TOKEN != null
|
210
|
-
with:
|
211
|
-
user: __token__
|
212
|
-
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
|
213
|
-
repository-url: https://test.pypi.org/legacy/
|
214
|
-
verbose: true
|
215
|
-
verify_metadata: false
|
216
|
-
|
217
145
|
tag-release:
|
218
146
|
name: Tagged PyPI release
|
219
147
|
runs-on: ubuntu-latest
|
@@ -222,13 +150,13 @@ jobs:
|
|
222
150
|
steps:
|
223
151
|
- id: setup-python
|
224
152
|
name: Setup Python
|
225
|
-
uses: actions/setup-python@
|
153
|
+
uses: actions/setup-python@v5
|
226
154
|
with:
|
227
155
|
python-version: '3.9'
|
228
156
|
|
229
157
|
- id: fetch
|
230
158
|
name: Fetch artifact
|
231
|
-
uses: actions/download-artifact@
|
159
|
+
uses: actions/download-artifact@v4
|
232
160
|
with:
|
233
161
|
name: test-release-${{ github.run_number }}
|
234
162
|
path: ./dist
|
@@ -2,7 +2,7 @@
|
|
2
2
|
# See https://pre-commit.com/hooks.html for more hooks
|
3
3
|
repos:
|
4
4
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
5
|
-
rev: v4.
|
5
|
+
rev: v4.5.0
|
6
6
|
hooks:
|
7
7
|
- id: trailing-whitespace
|
8
8
|
- id: end-of-file-fixer
|
@@ -15,23 +15,24 @@ repos:
|
|
15
15
|
- id: mixed-line-ending
|
16
16
|
|
17
17
|
- repo: https://github.com/psf/black
|
18
|
-
rev:
|
18
|
+
rev: 24.3.0
|
19
19
|
hooks:
|
20
20
|
- id: black
|
21
21
|
|
22
22
|
- repo: https://github.com/asottile/blacken-docs
|
23
|
-
rev:
|
23
|
+
rev: 1.16.0
|
24
24
|
hooks:
|
25
25
|
- id: blacken-docs
|
26
26
|
additional_dependencies: [black]
|
27
27
|
|
28
28
|
- repo: https://github.com/timothycrosley/isort
|
29
|
-
rev: 5.
|
29
|
+
rev: 5.13.2
|
30
30
|
hooks:
|
31
31
|
- id: isort
|
32
|
+
args: ["--profile", "black"]
|
32
33
|
|
33
34
|
- repo: https://github.com/PyCQA/flake8
|
34
|
-
rev:
|
35
|
+
rev: 7.0.0
|
35
36
|
hooks:
|
36
37
|
- id: flake8
|
37
38
|
additional_dependencies:
|
@@ -39,15 +40,17 @@ repos:
|
|
39
40
|
- flake8-bugbear
|
40
41
|
|
41
42
|
- repo: https://github.com/asottile/pyupgrade
|
42
|
-
rev:
|
43
|
+
rev: v3.15.2
|
43
44
|
hooks:
|
44
45
|
- id: pyupgrade
|
45
46
|
args: [--py37-plus]
|
46
47
|
|
47
48
|
- repo: https://github.com/pre-commit/mirrors-mypy
|
48
|
-
rev: '
|
49
|
+
rev: 'v1.9.0' # Use the sha / tag you want to point at
|
49
50
|
hooks:
|
50
51
|
- id: mypy
|
51
52
|
additional_dependencies:
|
52
53
|
- types-requests
|
53
54
|
- types-retry
|
55
|
+
- types-beautifulsoup4
|
56
|
+
- types-openpyxl
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: warn-scraper
|
3
|
-
Version: 1.2.
|
3
|
+
Version: 1.2.100
|
4
4
|
Summary: Command-line interface for downloading WARN Act notices of qualified plant closings and mass layoffs from state government websites
|
5
5
|
Home-page: https://github.com/biglocalnews/warn-scraper
|
6
6
|
Author: Big Local News
|
@@ -23,14 +23,19 @@ Classifier: Programming Language :: Python :: 3.10
|
|
23
23
|
Description-Content-Type: text/markdown
|
24
24
|
License-File: LICENSE
|
25
25
|
Requires-Dist: click
|
26
|
-
Requires-Dist:
|
26
|
+
Requires-Dist: beautifulsoup4
|
27
27
|
Requires-Dist: html5lib
|
28
28
|
Requires-Dist: pdfplumber
|
29
29
|
Requires-Dist: requests
|
30
30
|
Requires-Dist: openpyxl
|
31
|
-
Requires-Dist:
|
32
|
-
Requires-Dist: tenacity
|
31
|
+
Requires-Dist: pyopenssl
|
33
32
|
Requires-Dist: retry
|
33
|
+
Requires-Dist: selenium
|
34
|
+
Requires-Dist: stealthenium
|
35
|
+
Requires-Dist: tenacity
|
36
|
+
Requires-Dist: xlrd
|
37
|
+
Requires-Dist: xvfbwrapper
|
38
|
+
Requires-Dist: webdriver-manager
|
34
39
|
|
35
40
|
## Links
|
36
41
|
|
@@ -14,7 +14,7 @@ myst-parser = "*"
|
|
14
14
|
flake8 = "*"
|
15
15
|
coverage = "*"
|
16
16
|
flake8-docstrings = "*"
|
17
|
-
setuptools-scm = "
|
17
|
+
setuptools-scm = "==8.1.0"
|
18
18
|
us = "*"
|
19
19
|
jinja2 = "*"
|
20
20
|
flake8-bugbear = "*"
|
@@ -24,9 +24,18 @@ types-requests = "*"
|
|
24
24
|
mypy = "*"
|
25
25
|
typing-extensions = "*"
|
26
26
|
types-retry = "*"
|
27
|
+
types-beautifulsoup4 = "*"
|
28
|
+
types-openpyxl = "*"
|
29
|
+
# pinned last known versions to support Sphinx 4
|
30
|
+
sphinxcontrib-applehelp = "1.0.4"
|
31
|
+
sphinxcontrib-devhelp = "1.0.2"
|
32
|
+
sphinxcontrib-htmlhelp = "2.0.1"
|
33
|
+
sphinxcontrib-qthelp = "1.0.3"
|
34
|
+
sphinxcontrib-serializinghtml = "1.1.5"
|
35
|
+
setuptools = "==71.1.0"
|
27
36
|
|
28
37
|
[packages]
|
29
|
-
|
38
|
+
beautifulsoup4 = "*"
|
30
39
|
html5lib = "*"
|
31
40
|
requests = "*"
|
32
41
|
openpyxl = "*"
|
@@ -35,9 +44,17 @@ tenacity = "*"
|
|
35
44
|
click = "*"
|
36
45
|
xlrd = "*"
|
37
46
|
retry = "*"
|
47
|
+
urllib3 = "1.26.18" # pegged to avoid test issue
|
48
|
+
selenium = "*"
|
49
|
+
webdriver-manager = "*"
|
50
|
+
cryptography = "*"
|
51
|
+
cffi = "*"
|
52
|
+
pyopenssl = "*"
|
53
|
+
xvfbwrapper = "*"
|
54
|
+
stealthenium = "*"
|
38
55
|
|
39
56
|
[requires]
|
40
57
|
python_version = "3.9"
|
41
58
|
|
42
59
|
[pipenv]
|
43
|
-
allow_prereleases =
|
60
|
+
allow_prereleases = false
|