David Tucker
David Tucker
Could you just do this kind of thing? https://github.com/audreyr/cookiecutter-pypackage/blob/731165b7b56f1e22b7b5e027e658519422961f33/cookiecutter.json#L6 - This makes snake_case from `project_name` (from the user), and I think something like this could do PascalCase: ``` python {{...
FWIW, this can be worked around like so ``` python import pytest from pytest_subtests import SubTests def subtest_something1(): assert False def subtest_something2(): assert True def test_something(subtests: SubTests): failed = 0...
We can force a false `access-member-before-definition` pretty easily here too: ``` diff diff --git a/foo.py b/bar.py index d0b7735..1225dc0 100644 --- a/foo.py +++ b/bar.py @@ -8,6 +8,7 @@ class Base(Generic[T]): class...
@LaurentGoderre you aren't providing a config file, so `/some/other/path` is presumably empty, which is what `initdb` is complaining about when I provide a config file: ``` console initdb: error: directory...
Please try my example. The docs say I should be able to set `PGDATA` to the location of my config file, which then set the `data_directory` and that doesn't seem...
It is: ``` console $ sudo grep data_directory /example/postgresql.conf data_directory = '/var/lib/postgresql/data' # use data in another directory ```
> It worked for me. What command did you run? > Mahybe the issue is permission of the mounted file and folders? I don't think that explains the error from...
> It doesn't even read `data_directory` from the `-c config_file` I'm not sure that's true (altho, you're right in that it still doesn't work 😩) ```console $ ll total 32K...
I suspect this happens when tox must provision itself (i.e. when [there is a `requires` section](https://github.com/Ouranosinc/figanos/blob/0cc548fb0bbf7b9666c9d90d9231ff4fdfe2b213/tox.ini#L8-L10)).