Skip to content

Correct long-standing test problem Formatting "before all" hook to do with black not being installed (py3.4, 3.5) #2999

@d3r3kk

Description

@d3r3kk

Black will not be present for our test environment in any Python version < 3.6 due to the limitation that Black itself imposes.

Our formatting tests are failing during setup because they are expecting it.

Callstack

Error: Module 'black' not installed. at PythonExecutionService.<anonymous> (out/client/common/process/pythonProcess.js:9:9298) at Generator.next (<anonymous>) at fulfilled (out/client/common/process/pythonProcess.js:9:2415) at <anonymous>

Screenshot of build result:

image

Specific build

See a specific failing build on Azure DevOps CI build here

Metadata

Metadata

Assignees

Labels

debtCode quality issues

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions