Skip to content

Commit d266bc8

Browse files
authored
Merge pull request #194 from MITLibraries/stop-indexing-for-unexpected-errors
Stop indexing for unexpected errors
2 parents 7b9826e + be689e4 commit d266bc8

16 files changed

+795
-340
lines changed

.dockerignore

Lines changed: 157 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,157 @@
1+
# Byte-compiled / optimized / DLL files
2+
__pycache__/
3+
*.py[cod]
4+
*$py.class
5+
6+
# C extensions
7+
*.so
8+
9+
# Distribution / packaging
10+
.Python
11+
build/
12+
develop-eggs/
13+
dist/
14+
downloads/
15+
eggs/
16+
.eggs/
17+
lib/
18+
lib64/
19+
parts/
20+
sdist/
21+
var/
22+
wheels/
23+
share/python-wheels/
24+
*.egg-info/
25+
.installed.cfg
26+
*.egg
27+
MANIFEST
28+
29+
# PyInstaller
30+
# Usually these files are written by a python script from a template
31+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
32+
*.manifest
33+
*.spec
34+
35+
# Installer logs
36+
pip-log.txt
37+
pip-delete-this-directory.txt
38+
39+
# Unit test / coverage reports
40+
htmlcov/
41+
.tox/
42+
.nox/
43+
.coverage
44+
.coverage.*
45+
.cache
46+
nosetests.xml
47+
coverage.xml
48+
*.cover
49+
*.py,cover
50+
.hypothesis/
51+
.pytest_cache/
52+
cover/
53+
coverage/
54+
55+
# Translations
56+
*.mo
57+
*.pot
58+
59+
# Django stuff:
60+
*.log
61+
local_settings.py
62+
db.sqlite3
63+
db.sqlite3-journal
64+
65+
# Flask stuff:
66+
instance/
67+
.webassets-cache
68+
69+
# Scrapy stuff:
70+
.scrapy
71+
72+
# Sphinx documentation
73+
docs/_build/
74+
75+
# PyBuilder
76+
.pybuilder/
77+
target/
78+
79+
# Jupyter Notebook
80+
.ipynb_checkpoints
81+
82+
# IPython
83+
profile_default/
84+
ipython_config.py
85+
86+
# pyenv
87+
# For a library or package, you might want to ignore these files since the code is
88+
# intended to run in multiple environments; otherwise, check them in:
89+
# .python-version
90+
91+
# pipenv
92+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
93+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
94+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
95+
# install all needed dependencies.
96+
#Pipfile.lock
97+
98+
# poetry
99+
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
100+
# This is especially recommended for binary packages to ensure reproducibility, and is more
101+
# commonly ignored for libraries.
102+
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
103+
#poetry.lock
104+
105+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow
106+
__pypackages__/
107+
108+
# Celery stuff
109+
celerybeat-schedule
110+
celerybeat.pid
111+
112+
# SageMath parsed files
113+
*.sage.py
114+
115+
# Environments
116+
.env
117+
.venv
118+
env/
119+
venv/
120+
ENV/
121+
env.bak/
122+
venv.bak/
123+
124+
# Spyder project settings
125+
.spyderproject
126+
.spyproject
127+
128+
# Rope project settings
129+
.ropeproject
130+
131+
# mkdocs documentation
132+
/site
133+
134+
# mypy
135+
.mypy_cache/
136+
.dmypy.json
137+
dmypy.json
138+
139+
# Pyre type checker
140+
.pyre/
141+
142+
# pytype static type analyzer
143+
.pytype/
144+
145+
# Cython debug symbols
146+
cython_debug/
147+
148+
# PyCharm
149+
# JetBrains specific template is maintainted in a separate JetBrains.gitignore that can
150+
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
151+
# and can be added to the global gitignore or merged into this file. For a more nuclear
152+
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
153+
#.idea/
154+
155+
.DS_Store
156+
output/
157+
.vscode/

.github/dependabot.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,18 @@ updates:
1111
schedule:
1212
interval: "daily"
1313

14-
# Maintain dependencies for npm
14+
# Maintain dependencies for application
1515
- package-ecosystem: "pip"
1616
directory: "/"
1717
schedule:
1818
interval: "daily"
19+
reviewers:
20+
- "MITLibraries/dataeng"
21+
22+
# Maintain dependencies for Docker
23+
- package-ecosystem: "docker"
24+
directory: "/"
25+
schedule:
26+
interval: "weekly"
27+
reviewers:
28+
- "MITLibraries/dataeng"

.github/pull-request-template.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,7 @@ Include links to Jira Software and/or Jira Service Management tickets here.
3131

3232
### Code Reviewer
3333

34-
- [ ] The commit message is clear and follows our guidelines
35-
(not just this pull request message)
34+
- [ ] The commit message is clear and follows our guidelines (not just this pull request message)
3635
- [ ] There are appropriate tests covering any new functionality
3736
- [ ] The documentation has been updated or is unnecessary
3837
- [ ] The changes have been verified

.python-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.10.9
1+
3.11.2

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3.10-slim as build
1+
FROM python:3.11-slim as build
22
WORKDIR /app
33
COPY . .
44

Pipfile

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ name = "pypi"
66
[packages]
77
boto3 = "*"
88
click = "*"
9-
ijson = "*"
109
opensearch-py = "*"
1110
rich-click = "*"
1211
sentry-sdk = "*"
@@ -15,19 +14,19 @@ smart-open = {extras = ["s3"], version = "*"}
1514
[dev-packages]
1615
bandit = "*"
1716
black = "*"
17+
boto3-stubs = "*"
1818
coverage = "*"
1919
coveralls = "*"
2020
freezegun = "*"
21+
ijson = "*"
2122
mypy = "*"
23+
pydocstyle = "*"
2224
pylama = {extras = ["all"], version = "*"}
2325
pytest = "*"
2426
vcrpy = "*"
25-
# pydocstyle added and pinned until pylama is updated to work with 6.2+, see
26-
# https://github.com/klen/pylama/issues/232
27-
pydocstyle = "==6.1.1"
2827

2928
[requires]
30-
python_version = "3.10"
29+
python_version = "3.11"
3130

3231
[scripts]
3332
tim = "python -c \"from tim.cli import main; main(prog_name='tim')\""

0 commit comments

Comments
 (0)