Skip to content

Print the black version used#2

Open
nrnhines wants to merge 2 commits into
masterfrom
hines/black-version
Open

Print the black version used#2
nrnhines wants to merge 2 commits into
masterfrom
hines/black-version

Conversation

@nrnhines

@nrnhines nrnhines commented Jun 8, 2026

Copy link
Copy Markdown
Member

When local black formatting differs from the CI, it is helpful to know what black, python, and virtual environment was used.

For the "Check formatting / C/C++, CMake and Python (pull_request)" CI
the log, in the "Check formatting" section will show something like

=== Black version used by coding-conventions/format ===
black: 22.12.0
Python: 3.10.12
Interpreter: /home/runner/work/nrn/nrn/.bbp-project-venv/bin/python

See neuronsimulator/nrn#3782

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant