diff --git a/project_templates/fastapi_safir_app/example-uws/ruff-shared.toml b/project_templates/fastapi_safir_app/example-uws/ruff-shared.toml index aff2c6e..599fdec 100644 --- a/project_templates/fastapi_safir_app/example-uws/ruff-shared.toml +++ b/project_templates/fastapi_safir_app/example-uws/ruff-shared.toml @@ -123,6 +123,12 @@ select = ["ALL"] "S301", # allow tests for whether code can be pickled "SLF001", # tests are allowed to access private members ] +"tests/schema_test.py" = [ + "ASYNC221", # useful to run subprocess in async tests for Alembic +] +"*/tests/schema_test.py" = [ + "ASYNC221", # useful to run subprocess in async tests for Alembic +] # These are too useful as attributes or methods to allow the conflict with the # built-in to rule out their use. diff --git a/project_templates/fastapi_safir_app/example/ruff-shared.toml b/project_templates/fastapi_safir_app/example/ruff-shared.toml index aff2c6e..599fdec 100644 --- a/project_templates/fastapi_safir_app/example/ruff-shared.toml +++ b/project_templates/fastapi_safir_app/example/ruff-shared.toml @@ -123,6 +123,12 @@ select = ["ALL"] "S301", # allow tests for whether code can be pickled "SLF001", # tests are allowed to access private members ] +"tests/schema_test.py" = [ + "ASYNC221", # useful to run subprocess in async tests for Alembic +] +"*/tests/schema_test.py" = [ + "ASYNC221", # useful to run subprocess in async tests for Alembic +] # These are too useful as attributes or methods to allow the conflict with the # built-in to rule out their use. diff --git a/project_templates/fastapi_safir_app/{{cookiecutter.name}}/ruff-shared.toml b/project_templates/fastapi_safir_app/{{cookiecutter.name}}/ruff-shared.toml index aff2c6e..599fdec 100644 --- a/project_templates/fastapi_safir_app/{{cookiecutter.name}}/ruff-shared.toml +++ b/project_templates/fastapi_safir_app/{{cookiecutter.name}}/ruff-shared.toml @@ -123,6 +123,12 @@ select = ["ALL"] "S301", # allow tests for whether code can be pickled "SLF001", # tests are allowed to access private members ] +"tests/schema_test.py" = [ + "ASYNC221", # useful to run subprocess in async tests for Alembic +] +"*/tests/schema_test.py" = [ + "ASYNC221", # useful to run subprocess in async tests for Alembic +] # These are too useful as attributes or methods to allow the conflict with the # built-in to rule out their use. diff --git a/project_templates/square_pypi_package/example/ruff-shared.toml b/project_templates/square_pypi_package/example/ruff-shared.toml index aff2c6e..599fdec 100644 --- a/project_templates/square_pypi_package/example/ruff-shared.toml +++ b/project_templates/square_pypi_package/example/ruff-shared.toml @@ -123,6 +123,12 @@ select = ["ALL"] "S301", # allow tests for whether code can be pickled "SLF001", # tests are allowed to access private members ] +"tests/schema_test.py" = [ + "ASYNC221", # useful to run subprocess in async tests for Alembic +] +"*/tests/schema_test.py" = [ + "ASYNC221", # useful to run subprocess in async tests for Alembic +] # These are too useful as attributes or methods to allow the conflict with the # built-in to rule out their use. diff --git a/project_templates/square_pypi_package/{{cookiecutter.name}}/ruff-shared.toml b/project_templates/square_pypi_package/{{cookiecutter.name}}/ruff-shared.toml index aff2c6e..599fdec 100644 --- a/project_templates/square_pypi_package/{{cookiecutter.name}}/ruff-shared.toml +++ b/project_templates/square_pypi_package/{{cookiecutter.name}}/ruff-shared.toml @@ -123,6 +123,12 @@ select = ["ALL"] "S301", # allow tests for whether code can be pickled "SLF001", # tests are allowed to access private members ] +"tests/schema_test.py" = [ + "ASYNC221", # useful to run subprocess in async tests for Alembic +] +"*/tests/schema_test.py" = [ + "ASYNC221", # useful to run subprocess in async tests for Alembic +] # These are too useful as attributes or methods to allow the conflict with the # built-in to rule out their use. diff --git a/project_templates/technote_md/testn-000/technote.toml b/project_templates/technote_md/testn-000/technote.toml index 6e661b5..089090f 100644 --- a/project_templates/technote_md/testn-000/technote.toml +++ b/project_templates/technote_md/testn-000/technote.toml @@ -4,7 +4,7 @@ series_id = "TESTN" canonical_url = "https://testn-000.lsst.io" github_url = "https://github.com/lsst/testn-000" github_default_branch = "main" -date_created = 2024-11-13T21:18:19Z +date_created = 2024-11-19T23:58:23Z organization.name = "Vera C. Rubin Observatory" organization.ror = "https://ror.org/048g3cy84" license.id = "CC-BY-4.0" diff --git a/project_templates/technote_rst/testn-000/technote.toml b/project_templates/technote_rst/testn-000/technote.toml index 0187a49..3bc9c4a 100644 --- a/project_templates/technote_rst/testn-000/technote.toml +++ b/project_templates/technote_rst/testn-000/technote.toml @@ -4,7 +4,7 @@ series_id = "TESTN" canonical_url = "https://testn-000.lsst.io" github_url = "https://github.com/lsst/testn-000" github_default_branch = "main" -date_created = 2024-11-13T21:18:19Z +date_created = 2024-11-19T23:58:23Z organization.name = "Vera C. Rubin Observatory" organization.ror = "https://ror.org/048g3cy84" license.id = "CC-BY-4.0"