We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Recent black 23.1.0 complains:
black
@@ -77,10 +77,11 @@ pyproject_path = pyproject() wheeldir = pyproject_path / "dist" verbose = build_args.get("verbose", False) capture = not verbose + # emulate build error to see captured out/err def _raise_process_error(*args, **kwargs): stdout, stderr = (b"stdout", b"stderr") if capture else (None, None) raise CalledProcessError( 1, ["command args"], output=stdout, stderr=stderr @@ -288,10 +289,11 @@ pyproject_path = pyproject() outdir = pyproject_path / "dist" # override mock_build's mock for os.read mock_os_read = mocker.patch("pyproject_installer.build_cmd._build.os.read") + # emulate os.read error to raise thread def _raise_os_read(*args, **kwargs): raise OSError("oops") mock_os_read.side_effect = _raise_os_read would reformat /home/slevdc/my_gits/pyproject_installer/tests/unit/test_build/test_builder.py
See psf/black#3302 for details.
The text was updated successfully, but these errors were encountered:
black: Restyle with recent black 23.1.0
3ce98a4
See psf/black#3302 for details. Fixes: #37 Signed-off-by: Stanislav Levin <slev@altlinux.org>
9c9b1c5
b24cedc
No branches or pull requests
Recent
black
23.1.0 complains:See psf/black#3302 for details.
The text was updated successfully, but these errors were encountered: