question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

configuring pre-commit

See original GitHub issue

🚀 Feature

Setting up pre-commit for DeepChem developers.

Motivation

New DeepChem devs often run into formatting issues (mypy, yapf, flake8, etc.). pre-commit (or something else like it) allows a one-time configuration of pre-commit hooks that devs can use to automatically make sure their code complies with DeepChem’s formatting standards.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
ncfreycommented, Nov 28, 2021

@ncfrey can I work on this ?

Absolutely, a contribution here would be very helpful! Feel free to tag me on a Work-in-Progress PR as you get started.

0reactions
SauravMaheshkarcommented, Dec 11, 2021

@ncfrey Sorry for the late response (got caught up in NeurIPS 😅). I’ve added references to why certain choices for pytest and specific releases were made in the PR. LMK how it looks.

Read more comments on GitHub >

github_iconTop Results From Across the Web

pre-commit
The pre-commit config file describes what repositories and hooks are installed. ... The hook mapping configures which hook from the repository is used...
Read more >
pre-commit-config.yaml - GitHub
A framework for managing and maintaining multi-language pre-commit hooks. - pre-commit/.pre-commit-config.yaml at main · pre-commit/pre-commit.
Read more >
Getting Started with Python Pre-commit Hooks
Pre-commit hooks are a subset of Git hooks. ... All we need to do is create and format a .pre-commit-config.yaml file within our...
Read more >
PreCommit Hooks! - Medium
To set up our Pre-commit hook we would be using Husky which describes itself as — 'Git hooks made easy'. Let's get started...
Read more >
How to use git pre-commit hooks, the hard way and the easy ...
pre-commit -config.yaml file is ready, run pre-commit install to install/set up the hooks specified in your configuration file. At this point, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found