create-dara-app 1.21.24__py3-none-any.whl → 1.22.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -10,13 +10,13 @@ description = "{{ cookiecutter.project_name }}"
10
10
  authors = ["{{ cookiecutter.author_name }}"]
11
11
 
12
12
  [tool.poetry.dependencies]
13
- python = ">=3.9.0, <3.13.0"
13
+ python = ">=3.10.0, <3.13.0"
14
14
  dara-core = "^{{ cookiecutter.__dara_version }}"
15
15
  dara-components = "^{{ cookiecutter.__dara_version }}"
16
16
 
17
17
  [tool.poetry.dev-dependencies]
18
- blue = "^0.9.1"
19
- isort = "^5.10.1"
18
+ ruff = ">=0.12.2"
19
+ pyright = "^1.1.400"
20
20
 
21
21
 
22
22
  {% else %}
@@ -31,8 +31,8 @@ version = "0.1.0"
31
31
  dependencies = [
32
32
  "dara-core == {{ cookiecutter.__dara_version }}",
33
33
  "dara-components == {{ cookiecutter.__dara_version }}",
34
- "blue >= 0.9.0",
35
- "isort >= 5.10.1"
34
+ "ruff >=0.12.2",
35
+ "pyright >= 1.1.400"
36
36
  ]
37
37
  authors = [
38
38
  { name = "{{ cookiecutter.author_name }}" }
@@ -44,11 +44,3 @@ requires-python = ">=3.10, <3.13.0"
44
44
  packages = ["{{ cookiecutter.__package_name }}"]
45
45
 
46
46
  {% endif %}
47
-
48
- [tool.blue]
49
- line-length = 120
50
-
51
- [tool.isort]
52
- known_dara = ["dara"]
53
- profile = "black"
54
- sections = ["FUTURE", "STDLIB", "THIRDPARTY", "DARA", "FIRSTPARTY", "LOCALFOLDER"]
@@ -0,0 +1,46 @@
1
+ line-length = 120
2
+ exclude = ["*.ipynb"]
3
+
4
+ # target our minimum supported python version
5
+ target-version = "py310"
6
+
7
+ [format]
8
+ quote-style = "single"
9
+ exclude = ["*.ipynb"]
10
+
11
+ [lint]
12
+ select = [
13
+ "E", # pycodestyle
14
+ "F", # Pyflakes
15
+ "UP", # pyupgrade
16
+ "B", # flake8-bugbear
17
+ "SIM", # flake8-simplify
18
+ "I", # isort
19
+ "PL", # pylint
20
+ "FAST" # FastAPI specific
21
+ ]
22
+ ignore = [
23
+ "E501", # line-too-long
24
+ "PLC0415", # import-outside-toplevel
25
+ "PLE0307", # invalid-str-returned
26
+ "PLR0911", # too-many-return-statements
27
+ "PLR0912", # too-many-branches
28
+ "PLR0913", # too-many-arguments
29
+ "PLR0914", # too-many-locals
30
+ "PLR0915", # too-many-statements
31
+ "PLR0916", # too-many-boolean-expressions
32
+ "PLR0917", # too-many-positional-arguments
33
+ "PLR1702", # too-many-nested-blocks
34
+ "PLR1704", # redefined-argument-from-local
35
+ "PLW0603", # global-statement
36
+ "PLR2004", # magic-value-comparison
37
+ ]
38
+
39
+ [lint.isort]
40
+ section-order = ["future", "standard-library", "third-party", "dara", "first-party", "local-folder"]
41
+ sections = { dara = ["cai*", "dara*"] }
42
+
43
+ [lint.flake8-bugbear]
44
+ extend-immutable-calls = ["fastapi.File", "fastapi.Body", "fastapi.Header", "fastapi.Depends", "fastapi.params.Depends", "fastapi.Query", "fastapi.params.Query", "fastapi.security.http.HTTPBearer", "fastapi.security.HTTPBearer"]
45
+
46
+
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: create-dara-app
3
- Version: 1.21.24
3
+ Version: 1.22.0
4
4
  Summary: CLI to quickly bootstrap a Dara app
5
5
  Home-page: https://dara.causalens.com/
6
6
  License: Apache-2.0
@@ -20,7 +20,7 @@ Description-Content-Type: text/markdown
20
20
 
21
21
  # Create Dara App
22
22
 
23
- <img src="https://github.com/causalens/dara/blob/v1.21.24/img/dara_light.svg?raw=true">
23
+ <img src="https://github.com/causalens/dara/blob/v1.22.0/img/dara_light.svg?raw=true">
24
24
 
25
25
  ![Master tests](https://github.com/causalens/dara/actions/workflows/tests.yml/badge.svg?branch=master)
26
26
  [![License](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](https://www.apache.org/licenses/LICENSE-2.0)
@@ -8,14 +8,15 @@ create_dara_app/templates/default/hooks/pre_gen_project.py,sha256=BxX3zCGrexzGK9
8
8
  create_dara_app/templates/default/{{ cookiecutter.__project_slug }}/.gitignore,sha256=XoVjpt3wLLuaaB7LF04TxtWZ3wonQtKKO-pZCDzMMx8,320
9
9
  create_dara_app/templates/default/{{ cookiecutter.__project_slug }}/README.md,sha256=Vi3dSoNz6rJxVjZTWDaS4_qnzp8L2DxwhIjcLzWqqkQ,1275
10
10
  create_dara_app/templates/default/{{ cookiecutter.__project_slug }}/poetry.toml,sha256=RIOzGh1iOYR1gohOvPoQvv7Fe3a-1HJQ-9bDQuoyFDE,46
11
- create_dara_app/templates/default/{{ cookiecutter.__project_slug }}/pyproject.toml,sha256=9T-DJ1u3uX1vg--PpSL8SmFqcXVFmbivV1Lo3C3RQzA,1278
11
+ create_dara_app/templates/default/{{ cookiecutter.__project_slug }}/pyproject.toml,sha256=UOVvmJDjosULhmBRlP9E9otH7A_h2p9I4Rs0-RUTipM,1119
12
+ create_dara_app/templates/default/{{ cookiecutter.__project_slug }}/ruff.toml,sha256=3aqkNMKlW78wiOPI36LAmy-XyNIKUKtc2e-Z_tQLOXg,1370
12
13
  create_dara_app/templates/default/{{ cookiecutter.__project_slug }}/static/dara_light.svg,sha256=rX8oRQ3Uhcm7yQPO6NXsgRydcz4-mXkkChpZqEY8dOU,318043
13
14
  create_dara_app/templates/default/{{ cookiecutter.__project_slug }}/{{ cookiecutter.__package_name }}/main.py,sha256=lpwkkBOBaIRBmJi3eCid9zTe5sqAZl17Pg4LdoRmSqU,1068
14
15
  create_dara_app/templates/default/{{ cookiecutter.__project_slug }}/{{ cookiecutter.__package_name }}/pages/components_page.py,sha256=Ij1Brq2tRkorpmmNY-63KRUdfZwl51YY9eb7m3QdeEo,4929
15
16
  create_dara_app/templates/default/{{ cookiecutter.__project_slug }}/{{ cookiecutter.__package_name }}/pages/intro_page.py,sha256=_G4z_9N66t6eMhIenzIFbIM-p_EzJM8LPGiJ_emRI8k,1590
16
17
  create_dara_app/templates/default/{{ cookiecutter.__project_slug }}/{{ cookiecutter.__package_name }}/utils/components.py,sha256=xAjhKxPC1cgMda5tpLyCwZEEJTVOALR4C7V3REUpxbo,65462
17
- create_dara_app-1.21.24.dist-info/LICENSE,sha256=r9u1w2RvpLMV6YjuXHIKXRBKzia3fx_roPwboGcLqCc,10944
18
- create_dara_app-1.21.24.dist-info/METADATA,sha256=huIKouwnwDCoScXGp0UzdZDutOdz4asLW-jrSzNS0I0,1944
19
- create_dara_app-1.21.24.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
20
- create_dara_app-1.21.24.dist-info/entry_points.txt,sha256=RZETW6Q9lb0vM1gptGnobZGlD2qvU-0ZgztNoboRRTk,59
21
- create_dara_app-1.21.24.dist-info/RECORD,,
18
+ create_dara_app-1.22.0.dist-info/LICENSE,sha256=r9u1w2RvpLMV6YjuXHIKXRBKzia3fx_roPwboGcLqCc,10944
19
+ create_dara_app-1.22.0.dist-info/METADATA,sha256=r4YZ0BjqeAjS8YdXPIPJWez75lydO2Og45nJIUpqR2o,1942
20
+ create_dara_app-1.22.0.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
21
+ create_dara_app-1.22.0.dist-info/entry_points.txt,sha256=RZETW6Q9lb0vM1gptGnobZGlD2qvU-0ZgztNoboRRTk,59
22
+ create_dara_app-1.22.0.dist-info/RECORD,,