|
| 1 | +diff a/pyproject.toml b/pyproject.toml (rejected hunks) |
| 2 | +@@ -1,63 +1,61 @@ |
| 3 | +-[tool.poetry] |
| 4 | ++[project] |
| 5 | + name = "rra-tools" |
| 6 | + version = "0.0.1" |
| 7 | + description = "Common utilities for IHME Rapid Response team pipelines." |
| 8 | +-authors = [ |
| 9 | +- "James Collins <collijk@uw.edu>", |
| 10 | +-] |
| 11 | + license = "BSD-3-Clause" |
| 12 | + readme = "README.md" |
| 13 | ++authors = [ |
| 14 | ++ {name = "James Collins", email = "collijk@uw.edu"}, |
| 15 | ++] |
| 16 | ++requires-python = ">=3.12" |
| 17 | ++dependencies = [ |
| 18 | ++ "click", |
| 19 | ++] |
| 20 | + |
| 21 | +-documentation = "https://collijk.github.io/rra-tools" |
| 22 | ++[project.urls] |
| 23 | + homepage = "https://collijk.github.io/rra-tools" |
| 24 | + repository = "https://github.com/collijk/rra-tools" |
| 25 | ++documentation = "https://collijk.github.io/rra-tools" |
| 26 | + |
| 27 | +-classifiers = [ |
| 28 | +- "Development Status :: 4 - Beta", |
| 29 | +- "Intended Audience :: Developers", |
| 30 | +- "Operating System :: OS Independent", |
| 31 | +- "Programming Language :: Python", |
| 32 | +- "Programming Language :: Python :: 3", |
| 33 | +- "Programming Language :: Python :: 3.10", |
| 34 | +- "Programming Language :: Python :: 3.11", |
| 35 | +- "Programming Language :: Python :: 3.12", |
| 36 | +- "Topic :: Software Development :: Libraries :: Python Modules", |
| 37 | +- "Typing :: Typed", |
| 38 | +-] |
| 39 | ++[project.scripts] |
| 40 | ++my-cli = "rra_tools.cli:main" |
| 41 | + |
| 42 | ++[tool.poetry] |
| 43 | + packages = [ |
| 44 | + { include = "rra_tools", from = "src" } |
| 45 | + ] |
| 46 | ++requires-poetry = ">=2.0" |
| 47 | + |
| 48 | + [tool.poetry.dependencies] |
| 49 | +-python = ">=3.10, <4.0" |
| 50 | +-click = "*" |
| 51 | ++python = ">=3.12, <4.0" |
| 52 | + |
| 53 | ++# We keep the dev dependencies here instead of in the project optional dependencies |
| 54 | ++# so they're still installed by default with `poetry install`. |
| 55 | ++# They won't be installed or shipped with the package. |
| 56 | + [tool.poetry.group.dev.dependencies] |
| 57 | +-mkdocstrings = {version = "*", extras = ["python"]} |
| 58 | +-mkdocs-material = "*" |
| 59 | ++# Things we want to put a lower bound on |
| 60 | ++mypy = "^1.15.0" |
| 61 | ++mkdocs-material = "^9.6.0" |
| 62 | ++pre-commit = "^4.0.0" |
| 63 | ++pytest = "^8.3.0" |
| 64 | ++ruff = "^0.9.7" |
| 65 | ++# Things we don't care about the version |
| 66 | ++mkdocstrings = {extras = ["python"], version = "*"} |
| 67 | + mkdocs-table-reader-plugin = "*" |
| 68 | + mkdocs-gen-files = "*" |
| 69 | + mkdocs-literate-nav = "*" |
| 70 | + mkdocs-section-index = "*" |
| 71 | +-mypy = "*" |
| 72 | +-pre-commit = "*" |
| 73 | + pymdown-extensions = "*" |
| 74 | +-pytest = "*" |
| 75 | + pytest-github-actions-annotate-failures = "*" |
| 76 | + pytest-cov = "*" |
| 77 | + python-kacl = "*" |
| 78 | +-ruff = "*" |
| 79 | + |
| 80 | + [build-system] |
| 81 | +-requires = ["poetry-core>=1.0.0"] |
| 82 | ++requires = ["poetry-core>=2.0.0"] |
| 83 | + build-backend = "poetry.core.masonry.api" |
| 84 | + |
| 85 | +-[tool.poetry.scripts] |
| 86 | +-my-cli = "rra_tools.cli:main" |
| 87 | +- |
| 88 | + [tool.ruff] |
| 89 | +-target-version = "py310" # The lowest supported version |
| 90 | ++target-version = "py312" # The lowest supported version |
| 91 | + |
| 92 | + [tool.ruff.lint] |
| 93 | + # By default, enable all the lint rules. |
| 94 | +@@ -117,7 +115,7 @@ exclude_lines = [ |
| 95 | + # This is the global mypy configuration. |
| 96 | + # Avoid changing this! |
| 97 | + strict = true # See all the enabled flags `mypy --help | grep -A 10 'Strict mode'` |
| 98 | +-disallow_any_unimported = true |
| 99 | ++disallow_any_unimported = false |
| 100 | + |
| 101 | + # If you need to ignore something for some specific module, |
| 102 | + # add overrides for them. Avoid changing the global config! |
| 103 | +@@ -128,9 +126,3 @@ disallow_any_unimported = true |
| 104 | + # "my_unpyted_dependency2.*" |
| 105 | + # ] |
| 106 | + # ignore_missing_imports = true |
| 107 | +- |
| 108 | +-# [[tool.mypy.overrides]] |
| 109 | +-# module = [ |
| 110 | +-# "tests/my_thing/test_my_thing", |
| 111 | +-# ] |
| 112 | +-# disallow_untyped_defs = false |
0 commit comments