Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jan 29, 2024
1 parent 5744c73 commit 54e8141
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions example/test_classes.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""Shows how to use relative sorting in test classes, see
See https://pytest-order.readthedocs.io/en/stable/#referencing-of-tests-in-other-classes-or-modules # noqa: E501
"""

import pytest


Expand Down
1 change: 1 addition & 0 deletions example/test_combined.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""Shows how combined ordinal and relative sorting is handled.
See https://pytest-order.readthedocs.io/en/stable/#combination-of-absolute-and-relative-ordering # noqa: E501
"""

import pytest


Expand Down
1 change: 1 addition & 0 deletions example/test_module1.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""One of the test files showing the use of the --order-scope option.
See https://pytest-order.readthedocs.io/en/stable/#order-scope
"""

import pytest


Expand Down
1 change: 1 addition & 0 deletions example/test_module2.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""One of the test files showing the use of the --order-scope option.
See https://pytest-order.readthedocs.io/en/stable/#order-scope
"""

import pytest


Expand Down
1 change: 1 addition & 0 deletions example/test_modules_b.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""Example showing ordering relative to tests in other modules.
See https://pytest-order.readthedocs.io/en/stable/#referencing-of-tests-in-other-classes-or-modules # noqa: E501
"""

import pytest


Expand Down
1 change: 1 addition & 0 deletions example/test_number.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
and the use of the long form (index attribute) and short form (number only).
See https://pytest-order.readthedocs.io/en/stable/#order-by-index
"""

import pytest


Expand Down
1 change: 1 addition & 0 deletions example/test_ordinals.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""Shows how to use ordinal names for sorting.
See https://pytest-order.readthedocs.io/en/stable/#order-using-ordinals
"""

import pytest


Expand Down
1 change: 1 addition & 0 deletions example/test_quickstart.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""Test with ordering (as opposed to test.py) from the quick start chapter.
See https://pytest-order.readthedocs.io/en/stable/#quickstart
"""

import pytest


Expand Down
1 change: 1 addition & 0 deletions example/test_relative.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""Shows how to sort tests relatively to each other, see
https://pytest-order.readthedocs.io/en/stable/#order-relative-to-other-tests
"""

import pytest


Expand Down
1 change: 1 addition & 0 deletions example/test_sort_breaks_dependency.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
dependency.
See https://pytest-order.readthedocs.io/en/stable/#order-dependencies
"""

import pytest


Expand Down
1 change: 1 addition & 0 deletions example/test_sort_dependency.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""Test showing the behavior of the --order-dependencies option.
See https://pytest-order.readthedocs.io/en/stable/#order-dependencies
"""

import pytest


Expand Down
1 change: 1 addition & 0 deletions example/test_sparse_ordering.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""Test file showing the behavior of the --sparse-ordering option.
See https://pytest-order.readthedocs.io/en/stable/#sparse-ordering
"""

import pytest


Expand Down

0 comments on commit 54e8141

Please sign in to comment.