Eric Young
Eric Young
Some suggested Python hooks: - ~~[`black`](https://github.com/psf/black): consistent code formatting~~ - ~~Beware this might require changes to other hook configurations - see [here](https://github.com/psf/black/blob/master/docs/compatible_configs.md#black-compatible-configurations)~~ - ~~[`isort`](https://github.com/PyCQA/isort): Sort import statements~~ - ~~[`nbqa`](https://github.com/nbQA-dev/nbQA): Whole...
Based on [discussions](https://github.com/nbQA-dev/nbQA/issues/617) with @MarcoGorelli, consider using [`flake8-nb`](https://github.com/s-weigand/flake8-nb) to run flake8 in Jupyter notebooks.
Also consider `mypy` - see issue #35.
Interesting! Reading the [documentation](https://direnv.net/man/direnv-stdlib.1.html#codedotenv-ltdotenvpathgtcode), calling `dotenv .env` (for example) in `.envrc` will load the `.env` file. So it seems it won't do the reverse (parse the `.envrc` file, into a...
I think I'm going to go ahead and implement the above - this will be a breaking change. Main reasons are that it'll be easier for Windows users, PyCharm users,...
[Made an initial start on this in the `make-direnv-optional` branch](https://github.com/ukgovdatascience/govcookiecutter/tree/make-direnv-optional), which covers Points 1-3, and 5-6; this branches off [`revise-documentation`, which is currently in review](https://github.com/ukgovdatascience/govcookiecutter/pull/33).
Rebased the above branch up to version 1.2.2, but don't have time to finish this! Any help would be much appreciated.
@AndreasThinks I think all this needs are changes to the documentation, i.e.: - modifying any and all mentions of environment variables to refer to the `VARIABLE=VALUE` format - similarly stating...
@AndreasThinks - with the changes I've suggest, yes it'll be loading it in. Relative path will be more maintainable, especially if there are collaborators in the project. I believe @Jacobb164...
Failing CI check seems to be due to a GitHub connection error. Re-running the check may pass it. Also noting that some of these `cookiecutter-test` repos stated in `test_api.py`, and...