diff --git a/docs/releasenotes/4.6.0.rst b/docs/releasenotes/4.6.0.rst index 610e3de3..a6f22368 100644 --- a/docs/releasenotes/4.6.0.rst +++ b/docs/releasenotes/4.6.0.rst @@ -51,7 +51,7 @@ New option to generate configuration file with most important options and their It is only enabled after installing optional ``generate_config`` profile:: - pip install robotidy[generate_config] + pip install robotframework-tidy[generate_config] Generated configuration contains all transformers with their enabled status. Example of the file:: diff --git a/docs/source/configuration/config_file.rst b/docs/source/configuration/config_file.rst index 6a024cd8..43a52b8c 100644 --- a/docs/source/configuration/config_file.rst +++ b/docs/source/configuration/config_file.rst @@ -89,7 +89,7 @@ Generate configuration file It is possible to generate configuration files that contains most important options with their default values. First install ``robotidy`` with ``generate_config`` that contains module for writing TOML files:: - pip install robotidy[generate_config] + pip install robotframework-tidy[generate_config] You can generate configuration now:: diff --git a/robotidy/exceptions.py b/robotidy/exceptions.py index 4deb0bbf..712e60cc 100644 --- a/robotidy/exceptions.py +++ b/robotidy/exceptions.py @@ -46,7 +46,7 @@ class MissingOptionalTomliWDependencyError(RobotidyConfigError): def __init__(self): super().__init__( f"Missing optional dependency: tomli_w. Install robotidy with extra `generate_config` " - f"profile:\n\npip install robotidy[generate_config]" + f"profile:\n\npip install robotframework-tidy[generate_config]" ) diff --git a/tests/pytest.ini b/tests/pytest.ini new file mode 100644 index 00000000..1ceab942 --- /dev/null +++ b/tests/pytest.ini @@ -0,0 +1,2 @@ +[pytest] +addopts = -p no:warnings diff --git a/tests/utest/test_cli.py b/tests/utest/test_cli.py index 9a2ff993..bd5a1f89 100644 --- a/tests/utest/test_cli.py +++ b/tests/utest/test_cli.py @@ -552,6 +552,6 @@ def test_missing_dependency(self, monkeypatch, temporary_cwd): result = run_tidy(["--generate-config"], exit_code=1) expected_output = ( "Error: Missing optional dependency: tomli_w. Install robotidy with extra `generate_config` " - "profile:\n\npip install robotidy[generate_config]\n" + "profile:\n\npip install robotframework-tidy[generate_config]\n" ) assert result.output == expected_output