Pin black to the same version as the pre-commit hook
Closed
requested to merge generated-differential-D3991-source into generated-differential-D3991-target
Apparently, there's a new black release with Opinions on docstrings
Test Plan
tox -e black doesn't suggest changes to half the source tree
Migrated from D3991 (view on Phabricator)
Merge request reports
Activity
Build is green
Patch application report for D3991 (id=14069)
Could not rebase; Attempt merge onto 28d61c8c...
Updating 28d61c8..30be938 Fast-forward swh/core/db/db_utils.py | 26 ++++++++++++++------------ tox.ini | 2 +- 2 files changed, 15 insertions(+), 13 deletions(-)
Changes applied before test
commit 30be93846340bb289f9e780c5b0d6c50dfe8b506 Author: Nicolas Dandrimont <nicolas@dandrimont.eu> Date: Fri Sep 18 15:42:24 2020 +0200 Pin black to the same version as the pre-commit hook commit b63d7f432caeb9d75da6151fb20f3764beec7f80 Author: Nicolas Dandrimont <nicolas@dandrimont.eu> Date: Fri Sep 18 14:39:50 2020 +0200 Fix license statements on db_utils.py When the code was migrated from swh.storage, some other ancillary functions were merged into this file. So bits of it are under the LGPLv3 (the code pulled from psycopg2) and bits are under the GPLv3 (the code we wrote).
See https://jenkins.softwareheritage.org/job/DCORE/job/tests-on-diff/64/ for more details.
Please register or sign in to reply