Skip to content

Commit

Permalink
MAINT: Update test suite config
Browse files Browse the repository at this point in the history
- Builds on: a6c4c83
- Replace broken plugin: pytest-flake8 -> flake8
- Move configuration to pyproject.toml: pylint
- Update option names: pylint
  • Loading branch information
ntfrgl committed Jun 27, 2023
1 parent d81a3ee commit 911fb11
Show file tree
Hide file tree
Showing 4 changed files with 70 additions and 426 deletions.
8 changes: 4 additions & 4 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -169,13 +169,13 @@ The test suite can be run from anywhere in the project tree by issuing::
To display the defined test environments and target them individually::

$> tox -l
$> tox -e units,pylint,docs
$> tox -e style,lint,test,docs

To test individual files::

$> pytest tests/test_core/TestNetwork.py # unit tests
$> pytest --flake8 pyunicorn/core/network.py # style
$> pylint pyunicorn/core/network.py # static code analysis
$> flake8 src/pyunicorn/core/network.py # style check
$> pylint src/pyunicorn/core/network.py # static code analysis
$> pytest tests/test_core/TestNetwork.py # unit tests


Mailing list
Expand Down
Loading

0 comments on commit 911fb11

Please sign in to comment.