Update requirements and pre-commit hooks (#255)

* Update package versions in requirements.txt
* Update pre-commit hooks versions in pre-commit-config.yaml
* Specify testpath in setup.cfg
* Update readme
This commit is contained in:
ashleve authored and GitHub committed 2022-02-19 21:00:56 +01:00
1 parent ddbd1e3c78
commit d25db15ad5
4 files changed
+23 -18

No files matched your search

+12 -1
View File
@@ -391,6 +391,17 @@ python train.py -m 'experiment=glob(*)'
</details>
<details>
<summary><b>Apply pre-commit hooks</b></summary>
> Apply pre-commit hooks to automatically format your code and configs, perform code analysis and remove output from jupyter notebooks. See [# Best Practices](#best-practices) for more.
```bash
pre-commit run -a
```
</details>
<br>
## ❤️&nbsp;&nbsp;Contributions
@@ -1081,7 +1092,7 @@ pre-commit install
```
After that your code will be automatically reformatted on every new commit.<br>
Currently template contains configurations of **black** (python code formatting), **isort** (python import sorting), **flake8** (python code analysis) and **prettier** (yaml formating). <br>
Currently template contains configurations of **black** (python code formatting), **isort** (python import sorting), **flake8** (python code analysis), **prettier** (yaml formating) and **nbstripout** (clearing output from jupyter notebooks). <br>
To reformat all files in the project use command: