remove pylama test import
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-isort?expand=0&rev=97
This commit is contained in:
parent
6cb1b0e192
commit
a6eb6f18ec
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 10 14:36:51 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- remove unnecessary pylama buildrequires
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 28 17:55:23 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
|
@ -92,6 +92,8 @@ hypothesis.settings.register_profile(
|
||||
sed -i 's/natsort = "^/natsort = ">=/' example_isort_sorting_plugin/pyproject.toml
|
||||
# unpin black in example plugin
|
||||
sed -i 's/black = "^/black = ">=/' example_isort_formatting_plugin/pyproject.toml
|
||||
# don't test pylama plugin
|
||||
sed -i '/import isort.pylama_isort/d' tests/unit/test_importable.py
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
@ -110,6 +112,8 @@ sed -i 's/black = "^/black = ">=/' example_isort_formatting_plugin/pyproject.tom
|
||||
ignoretests="--ignore tests/integration/test_projects_using_isort.py"
|
||||
# don't run benchmarks
|
||||
ignoretests+=" --ignore tests/benchmark"
|
||||
# no pylama
|
||||
ignoretests+=" --ignore tests/unit/test_pylama_isort.py"
|
||||
# test_setting_combinations.py::test_isort_is_idempotent
|
||||
# is flaky https://github.com/PyCQA/isort/issues/1466
|
||||
donttest="(test_setting_combinations and test_isort_is_idempotent)"
|
||||
|
Loading…
x
Reference in New Issue
Block a user