File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ Please make sure the tests pass and the code is linted before submitting a pull
5252pip install pre-commit
5353pre-commit install
5454```
55-
55+ ^
5656This should now automatically reject commits that do not pass the linting and formatting checks.
5757
5858You may run our tests locally with:
@@ -62,6 +62,12 @@ pip install .[dev,test]
6262pytest
6363```
6464
65+ Further if you want to make sure that the types are correct, you can run:
66+ ``` bash
67+ cd backend
68+ mypy beets_flask
69+ ```
70+
6571## Additional Resources
6672
6773See also [ Resources.md] ( ./RESOURCES.md ) for some background information and design choices.
Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ pythonpath = ["."]
8484omit = [" */tests/*" ]
8585
8686[tool .mypy ]
87- check_untyped_defs = false
87+ check_untyped_defs = true
8888
8989[[tool .mypy .overrides ]]
9090# Suppresses error messages about imports that cannot be resolved.
You can’t perform that action at this time.
0 commit comments