@@ -36,34 +36,17 @@ actual bugs and improvement requests.
36
36
37
37
## Recommended development environment
38
38
39
- - MacOS or Linux
40
- - Python 2.7
39
+ We use [ justfile ] ( https://just.systems/man/en/packages.html ) for task running
40
+ and [ uv ] ( https://docs.astral.sh/uv/getting-started/installation/ ) for python project management.
41
41
42
- Using 2.7 ensures that you don't accidentally break Python2.7 support.
43
- Flask-PyMongo will support Python 2.7 for as long as it is an officially
44
- supported version of Python (util some time in 2020).
42
+ To set up your dev environment, run ` just install ` .
45
43
46
- - Run tests with [ tox] ( https://tox.readthedocs.io/en/latest/ ) , eg `tox -e
47
- pymongo30-mongo32-flask0_11`
44
+ To run the tests, run ` just test ` . You can pass arguments through to ` pytest ` .
48
45
49
- Since the build matrix is very big, you may want to select a single
50
- or a few matrix versions to test. Run ` tox -l ` to see all the builds.
46
+ To run the linters, run ` just lint ` .
51
47
52
- All tests, against all supported versions, are run by
53
- [ Travis-CI] ( https://travis-ci.org/dcrosta/flask-pymongo ) for each commit
54
- and pull request.
48
+ To build the docs, run ` just docs ` and open ` _build/html/index.html ` in your browser to view the docs.
55
49
56
- - Check style compliance with ` tox -e style `
57
-
58
-
59
- ## Building the docs
60
-
61
- Build the docs in the ` docs ` directory using Sphinx:
62
-
63
- cd docs
64
- make html
65
-
66
- Open ` _build/html/index.html ` in your browser to view the docs.
67
50
68
51
## Contributors
69
52
0 commit comments