Commit 83507c4b authored by jon-tow's avatar jon-tow
Browse files

Update `task_guide` and add `pre-commit` dev dependency

parent 8c997e53
...@@ -295,6 +295,11 @@ class TaskName(...): ...@@ -295,6 +295,11 @@ class TaskName(...):
## Submitting your Task ## Submitting your Task
Although we currently do not work behind a specific style guide, we'd appreciate if you tidy up your file/s with the `black` formatter (which should've been install through the `requirements.txt`). Keep things clean…ish 🙂. You can format your changes and perform flake8 standard checks by running the following commands:
```sh
pre-commit install
pre-commit run --all-files
```
Now push your work and make a pull request! Thanks for the contribution 👍. If there are any questions, leave a message in the `#lm-thunderdome` channel on the EAI discord. Now push your work and make a pull request! Thanks for the contribution 👍. If there are any questions, leave a message in the `#lm-thunderdome` channel on the EAI discord.
...@@ -45,5 +45,5 @@ setuptools.setup( ...@@ -45,5 +45,5 @@ setuptools.setup(
dependency_links=[ dependency_links=[
"https://github.com/google-research/bleurt/archive/b610120347ef22b494b6d69b4316e303f5932516.zip#egg=bleurt", "https://github.com/google-research/bleurt/archive/b610120347ef22b494b6d69b4316e303f5932516.zip#egg=bleurt",
], ],
extras_require={"dev": ["pytest", "black"]}, extras_require={"dev": ["pytest", "black", "pre-commit"]},
) )
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment