-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #61 from jaraco/debt/more-pytest
Refine dev workflow around tox/pytest
- Loading branch information
Showing
7 changed files
with
17 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -66,22 +66,7 @@ Ready to contribute? Here's how to set up ``meza`` for local development. | |
git clone [email protected]:<your_username>/meza.git | ||
cd meza | ||
2. Setup a new `virtualenv`_ with ``virtualenvwrapper`` | ||
|
||
.. code-block:: bash | ||
mkvirtualenv --no-site-packages meza | ||
pip install -r dev-requirements.txt | ||
python setup.py develop | ||
Or, if you only have ``virtualenv`` installed | ||
|
||
.. code-block:: bash | ||
virtualenv --no-site-packages ~/.venvs/meza | ||
source ~/.venvs/meza/bin/activate | ||
pip install -r dev-requirements.txt | ||
python setup.py develop | ||
2. `Install tox <https://tox.wiki/en/4.13.0/installation.html>`_ | ||
|
||
3. Create a branch for local development | ||
|
||
|
@@ -93,9 +78,7 @@ Or, if you only have ``virtualenv`` installed | |
|
||
.. code-block:: bash | ||
manage lint | ||
manage test | ||
manage tox | ||
tox | ||
5. Commit your changes and push your branch to GitHub | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,12 @@ | ||
pip>20.0 | ||
wheel>=0.29.0 | ||
black>=19.3b0,<22.0 | ||
coverage>=4.3.4,<6.0.0 | ||
flake8>=3.7.9,<5.0.0 | ||
flake8-black>=0.1.1,<0.3.0 | ||
nose>=1.3.7,<2.0.0 | ||
manage.py>=0.2.10,<0.3.0 | ||
pkutils>=3.0.0,<4.0.0 | ||
pylint>=2.5.0,<3.0.0 | ||
pytest>=8,<9 | ||
pytest-cov | ||
pytest-enabler>=2.2 | ||
responses>=0.9.0,<0.15.0 | ||
setuptools>=42.0.2 | ||
tox>=3.14.3,<4.0.0 | ||
twine>=3.2.0,<4.0.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
[pytest] | ||
norecursedirs=.tox .git | ||
addopts= | ||
--doctest-modules | ||
--ignore manage.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters