datajoint / datajoint-python

Relational data pipelines for the science lab
https://datajoint.com/docs
GNU Lesser General Public License v2.1
163 stars 83 forks source link

Format with black v24.2.0 #1153

Closed ethho closed 3 months ago

ethho commented 4 months ago

Directories datajoint, tests, and tests_old are not compliant with the Black code style as of black v24.2.0. This causes linting errors in CI.

This PR runs the newest version of black on our codebase:

$ black datajoint tests tests_old
All done! ✨ 🍰 ✨
132 files left unchanged.
$ black --version
black, 24.2.0 (compiled: yes)
Python (CPython) 3.11.4

This PR also includes changes that standardize how black is run in CI. These changes were made to address inconsistencies in formatting between different versions of black.

ethho commented 4 months ago

Besides .github/workflows/development.yaml, this PR only contains changes made by black formatting.