Skip to content

Commit 03ab27a

Browse files
authored
Merge pull request #17 from nyu-devops/update-fa23
Updates for Fall 2023 Semester
2 parents 638cdc3 + c172e4f commit 03ab27a

File tree

5 files changed

+35
-29
lines changed

5 files changed

+35
-29
lines changed

.devcontainer/devcontainer.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,23 @@
77
"remoteUser": "devops",
88
"customizations": {
99
"vscode": {
10+
"settings": {
11+
"[python]": {
12+
"editor.defaultFormatter": "ms-python.black-formatter",
13+
"editor.formatOnSave": true
14+
},
15+
"python.testing.pytestEnabled": false,
16+
"python.testing.unittestEnabled": true,
17+
"pylint.lintOnChange": true,
18+
"markdown-preview-github-styles.colorTheme": "light",
19+
"files.exclude": {
20+
"**/.git": true,
21+
"**/.DS_Store": true,
22+
"**/*.pyc": true,
23+
"**/__pycache__": true,
24+
"**/.pytest_cache": true
25+
}
26+
},
1027
"extensions": [
1128
"VisualStudioExptTeam.vscodeintellicode",
1229
"ms-python.python",

.vscode/settings.json

Lines changed: 0 additions & 21 deletions
This file was deleted.

requirements.txt

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# Pinned dependencies that cause breakage
2-
Werkzeug==2.3.3
2+
Werkzeug==3.0.1
33
urllib3==1.26.15
44

55
# Runtime dependencies
6-
Flask==2.3.2
6+
Flask==2.3.3
77
flask-restx==1.1.0
88
cloudant==2.15.0
99
retry2==0.9.5
@@ -14,14 +14,17 @@ gunicorn==20.1.0
1414
honcho==1.1.0
1515

1616
# Code quality
17-
pylint==2.16.2
18-
flake8==6.0.0
19-
black==23.1.0
17+
pylint==2.17.5
18+
flake8==6.1.0
19+
black==23.7.0
2020

2121
# Testing dependencies
22-
green==3.4.3
22+
pytest==7.4.0
23+
pytest-pspec==0.0.4
24+
pytest-cov==4.1.0
25+
coverage==7.3.0
2326
factory-boy==3.2.1
24-
coverage==7.1.0
27+
green==3.4.3
2528

2629
# Utilities
27-
httpie==3.2.1
30+
httpie==3.2.2

setup.cfg

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
[tool:pytest]
2+
minversion = 6.0
3+
addopts = --pspec --cov=service --cov-fail-under=95 --disable-warnings
4+
testpaths =
5+
tests
6+
integration
7+
18
[green]
29
verbose=3
310
processes=1

tests/__init__.py

Whitespace-only changes.

0 commit comments

Comments
 (0)