|
1 | | -[tool.poetry] |
| 1 | +[project] |
2 | 2 | name = "apt-package-function" |
3 | | -version = "0.1.0" |
4 | 3 | description = "Functionality to create a Debian package repository in Azure Blob Storage" |
5 | | -authors = ["Max Dymond <max.dymond@microsoft.com>"] |
6 | 4 | license = "MIT" |
| 5 | +version = "0.1.0" |
7 | 6 | readme = "README.md" |
| 7 | +authors = [{name = "Max Dymond", email = "max.dymond@alianza.com"}] |
| 8 | +requires-python = '>=3.9.2,<4.0.0' |
| 9 | +dependencies = [ |
| 10 | + 'azure-functions (>=1.21.3,<2.0.0)', |
| 11 | + 'azure-identity (>=1.19.0,<2.0.0)', |
| 12 | + 'azure-storage-blob (>=12.23.1,<13.0.0)', |
| 13 | + 'pydpkg (>=1.9.3,<2.0.0)' |
| 14 | +] |
8 | 15 |
|
9 | | -[tool.poetry.dependencies] |
10 | | -python = "^3.8.2" |
11 | | -azure-functions = "^1.21.3" |
12 | | -azure-identity = "^1.19.0" |
13 | | -azure-storage-blob = "^12.23.1" |
14 | | -pydpkg = "^1.9.3" |
| 16 | +[project.scripts] |
| 17 | +create-resources = "apt_package_function.create_resources:run" |
| 18 | + |
| 19 | +[tool.poetry] |
| 20 | +requires-poetry = '>=2.0' |
| 21 | + |
| 22 | +[tool.poetry.requires-plugins] |
| 23 | +poetry-plugin-export = ">=1.8" |
15 | 24 |
|
16 | 25 | [tool.poetry.group.dev.dependencies] |
17 | | -mypy = "^1.14.1" |
18 | | -flake8 = "^7.1.1" |
19 | | -flake8-black = "^0.3.6" |
20 | | -flake8-isort = "^6.1.1" |
21 | | -flake8-docstrings = "^1.7.0" |
22 | | -black = "^24.8.0" |
| 26 | +mypy = "^1" |
| 27 | +ruff = "^0.11.12" |
23 | 28 |
|
24 | 29 | [build-system] |
25 | | -requires = ["poetry-core"] |
| 30 | +requires = ['poetry-core (>=2.0)'] |
26 | 31 | build-backend = "poetry.core.masonry.api" |
27 | 32 |
|
28 | | -[tool.poetry.scripts] |
29 | | -# Script to create resources in Azure |
30 | | -create-resources = "apt_package_function.create_resources:run" |
| 33 | +[tool.mypy] |
| 34 | +files = ["function_app.py", "src/apt_package_function"] |
| 35 | + |
| 36 | +[[tool.mypy.overrides]] |
| 37 | +module = ["pydpkg.*"] |
| 38 | +ignore_missing_imports = true |
0 commit comments