|
2 | 2 | build-backend = "setuptools.build_meta" |
3 | 3 | requires = ["setuptools"] |
4 | 4 |
|
| 5 | +[dependency-groups] |
| 6 | +dev = [ |
| 7 | + "covdefaults>=2.1.0", |
| 8 | + "coverage", |
| 9 | + "pytest", |
| 10 | + "pytest-asyncio", |
| 11 | +] |
| 12 | + |
| 13 | +[project] |
| 14 | +authors = [{name = "Max R", email = "mxr@users.noreply.github.com"}] |
| 15 | +classifiers = [ |
| 16 | + "Programming Language :: Python :: 3", |
| 17 | + "Programming Language :: Python :: 3 :: Only", |
| 18 | + "Programming Language :: Python :: Implementation :: CPython", |
| 19 | + "Programming Language :: Python :: Implementation :: PyPy", |
| 20 | +] |
| 21 | +dependencies = [ |
| 22 | + "aiohttp>=3", |
| 23 | + "aiopathlib", |
| 24 | + "aiosqlite", |
| 25 | + "asyncio-for-ynab~=1.84.0", |
| 26 | + "fasteners", |
| 27 | + "rich>=10", |
| 28 | + "tenacity", |
| 29 | +] |
| 30 | +description = "SQLite Export for YNAB - Export YNAB Data to SQLite" |
| 31 | +keywords = ["ynab", "sqlite", "sql", "budget", "plan", "cli"] |
| 32 | +license = "MIT" |
| 33 | +license-files = ["LICENSE"] |
| 34 | +name = "sqlite_export_for_ynab" |
| 35 | +readme = "README.md" |
| 36 | +requires-python = ">=3.12" |
| 37 | +version = "2.9.0" |
| 38 | + |
| 39 | +[project.scripts] |
| 40 | +sqlite-export-for-ynab = "sqlite_export_for_ynab._main:main" |
| 41 | + |
| 42 | +[project.urls] |
| 43 | +Homepage = "https://github.com/mxr/sqlite-export-for-ynab" |
| 44 | + |
| 45 | +[tool.coverage.run] |
| 46 | +plugins = ["covdefaults"] |
| 47 | + |
5 | 48 | [tool.mypy] |
6 | 49 | check_untyped_defs = true |
7 | 50 | disallow_any_generics = true |
@@ -34,6 +77,13 @@ extend-select = [ |
34 | 77 | "TC", # see flake8-type-checking |
35 | 78 | ] |
36 | 79 |
|
| 80 | +[tool.setuptools.package-data] |
| 81 | +"*" = ["*.sql"] |
| 82 | +sqlite_export_for_ynab = ["py.typed"] |
| 83 | + |
| 84 | +[tool.setuptools.packages] |
| 85 | +find = {} |
| 86 | + |
37 | 87 | [tool.sqlfluff.layout.type.comma] |
38 | 88 | line_position = "leading" |
39 | 89 | spacing_before = "touch" |
@@ -65,3 +115,19 @@ require_final_semicolon = true |
65 | 115 |
|
66 | 116 | [tool.sqlfluff.rules.references.quoting] |
67 | 117 | prefer_quoted_keywords = true |
| 118 | + |
| 119 | +[tool.tox] |
| 120 | +env_list = ["py", "pypy3", "pre-commit"] |
| 121 | + |
| 122 | +[tool.tox.env.pre-commit] |
| 123 | +commands = [["pre-commit", "run", "--all-files", "--show-diff-on-failure"]] |
| 124 | +deps = ["pre-commit-uv"] |
| 125 | +skip_install = true |
| 126 | + |
| 127 | +[tool.tox.env_run_base] |
| 128 | +commands = [ |
| 129 | + ["coverage", "erase"], |
| 130 | + ["coverage", "run", "-m", "pytest", "{posargs:tests}"], |
| 131 | + ["coverage", "report"], |
| 132 | +] |
| 133 | +dependency_groups = ["dev"] |
0 commit comments