Skip to content

Commit 073a9fd

Browse files
Exclude cli from packaging test
1 parent 9b7ab7d commit 073a9fd

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

.github/workflows/python-packaging.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ jobs:
88
packaging:
99
uses: tskit-dev/.github/.github/workflows/python-packaging.yml@v14
1010
with:
11-
pyproject-directory: .
12-
cli-test-cmd: sc2ts --help
11+
# The sc2ts cli is only available with the sc2ts[inference] install
12+
# cli-test-cmd: sc2ts --help

pyproject.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -122,15 +122,15 @@ ignore = [
122122
"B905", #Don't add strict=False to zips (B905)
123123
"E741", # using 'l' as a variable name
124124
"N806", "N802", "N803", # Various nags about uppercase vars
125-
"F821", # Undefined name `List`
126-
"B006", # Do not use mutable data structures for argument defaults
125+
"F821", # Undefined name `List`
126+
"B006", # Do not use mutable data structures for argument defaults
127127
"E721", # Use `is` and `is not` for type comparisons, or `isinstance()`
128-
"F841", # Local variable `shape` is assigned to but never
128+
"F841", # Local variable `shape` is assigned to but never
129129
"PT018", # Assertion should be broken down into multiple parts
130-
"B007", # Loop control variable `j` not used within
130+
"B007", # Loop control variable `j` not used within
131131
"PT006", # Wrong type passed to first argument of `pytest.mar
132-
"PT007", # Wrong values type in `pytest.mark.parametrize`
133-
"PT009", # Use a regular `assert` instead of unittest-style
132+
"PT007", # Wrong values type in `pytest.mark.parametrize`
133+
"PT009", # Use a regular `assert` instead of unittest-style
134134
# FIXME - line too long in debug.py
135135
"E501",
136136

0 commit comments

Comments
 (0)