-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
24 lines (24 loc) · 802 Bytes
/
package.json
File metadata and controls
24 lines (24 loc) · 802 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{
"name": "code-executor",
"version": "0.0.1",
"description": "Code executor for Code2Gather",
"private": true,
"scripts": {
"export-requirements": "poetry export --without-hashes -f requirements.txt > requirements.txt",
"lint": "poetry run black . && poetry run isort . && poetry run flake8 --select=F && poetry run mypy --namespace-packages .",
"start": "env PYTHONPATH=. poetry run python src/__main__.py",
"test": "poetry run pytest --cov-report term-missing:skip-covered --cov=src tests/",
"postinstall": "poetry install"
},
"devDependencies": {
"lint-staged": "^11.2.6"
},
"lint-staged": {
"**/*.py": [
"poetry run black",
"poetry run isort",
"poetry run flake8 --select=F",
"poetry run mypy --namespace-packages"
]
}
}