Skip to content
New issue

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

Update pre-commit environments #1989

Merged
merged 5 commits into from
Feb 23, 2022
Merged

Update pre-commit environments #1989

merged 5 commits into from
Feb 23, 2022

Conversation

Anthchirp
Copy link
Member

Follow-up from #1986

* Fast-fail on syntax errors
* isort will maintain 'from future' imports
* Update isort/black/flake8 versions
@codecov
Copy link

codecov bot commented Jan 25, 2022

Codecov Report

Merging #1989 (6400bf1) into main (9ca4154) will not change coverage.
The diff coverage is n/a.

❗ Current head 6400bf1 differs from pull request most recent head c519e92. Consider uploading reports for the commit c519e92 to get more accurate results

@@           Coverage Diff           @@
##             main    #1989   +/-   ##
=======================================
  Coverage   67.61%   67.61%           
=======================================
  Files         629      629           
  Lines       71428    71428           
  Branches    10481    10481           
=======================================
  Hits        48297    48297           
  Misses      21151    21151           
  Partials     1980     1980           

Anthchirp added a commit that referenced this pull request Jan 25, 2022
This fixes a pre-commit vs. setuptools issue for new developer installs,
and for existing installations when you run 'libtbx.precommit install'.

Update 'future' imports throughout the code base, in preparation of
upcoming pre-commit updates in #1989.

Upgrade the Python version used in pytype pull request checks.

Co-authored-by: Markus Gerstel <markus.gerstel@diamond.ac.uk>
@Anthchirp Anthchirp marked this pull request as ready for review February 22, 2022 15:53
@Anthchirp Anthchirp merged commit f9b3e45 into main Feb 23, 2022
@Anthchirp Anthchirp deleted the pre-commit branch February 23, 2022 10:21
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.

None yet

1 participant