Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .github/renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,6 @@
"extends": [
"schedule:weekly"
]
},
{
"matchPackageNames": ["flake8-import-order", "setuptools"], // we're not compatible with 0.19.0 yet due to #226
"matchManagers": ["poetry"],
"enabled": false
}
]
}
8 changes: 4 additions & 4 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,7 @@ isort = ">=5.10"
# flake8 plugins should be listed here (in alphabetical order)
flake8-black = ">=0.2.1"
flake8-docstrings = ">=1.5.0"
flake8-import-order = ">=0.18.1,<0.19.0" # we're not compatible with 0.19.0 yet due to #226
setuptools = "<82" # flake8-import-order 0.18.x needs pkg_resources which was removed in setuptools v82
flake8-import-order = "^0.19.2"
flake8-tidy-imports = ">=4.11.0"
pep8-naming = ">=0.11.1"

Expand Down
6 changes: 3 additions & 3 deletions tests/test_cli/test_bare.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ def test_no_args_prints_help(styleguide):
"""Tests that running the styleguide without any arguments prints the help info."""
result = styleguide()

assert result
assert result.output.startswith("Usage:")
assert not result.exception
assert "Usage:" in result.output
Comment thread
mshafer-NI marked this conversation as resolved.


def test_help_prints_help(styleguide):
"""Tests that running the styleguide with "--help" prints the help info."""
result = styleguide("--help")

assert result
assert not result.exception
Comment thread
mshafer-NI marked this conversation as resolved.
assert result.output.startswith("Usage:")
Loading