Skip to content

Commit 968ef36

Browse files
authored
Merge pull request #9 from AzulGarza/feat/changes
feat: add changes to repo
2 parents afb4288 + 5bc201e commit 968ef36

3 files changed

Lines changed: 14 additions & 7 deletions

File tree

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ repos:
1111
hooks:
1212
- id: mypy
1313
args: [--ignore-missing-imports, --check-untyped-defs]
14-
additional_dependencies: [types-PyYAML]
14+
additional_dependencies: [types-PyYAML, types-requests]
1515
- repo: https://github.com/pappasam/toml-sort
1616
rev: v0.24.2
1717
hooks:

.python-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.11

pyproject.toml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
[build-system]
2-
requires = ["setuptools >= 61.0", "wheel"]
3-
build-backend = "setuptools.build_meta"
2+
requires = ["hatchling"]
3+
build-backend = "hatchling.build"
44

55
[project]
66
name = "python_project"
77
version = "0.0.1"
8-
requires-python = ">=3.8"
9-
dependencies = [
8+
requires-python = ">=3.10"
9+
10+
[dependency-groups]
11+
dev = [
1012
"pre-commit",
1113
"pytest",
1214
"pytest-cov",
@@ -25,6 +27,12 @@ omit = [
2527
fail_under = 80
2628
show_missing = true
2729

30+
[tool.hatch.build.targets.wheel]
31+
packages = ["src"]
32+
33+
[tool.hatch.metadata]
34+
allow-direct-references = true
35+
2836
[tool.mypy]
2937
disable_error_code = ["no-redef"] # for fasthtml
3038

@@ -50,5 +58,3 @@ ignore = [
5058
known-local-folder = ["src"]
5159
no-lines-before = ["local-folder"]
5260

53-
[tool.setuptools]
54-
packages = ["src"]

0 commit comments

Comments
 (0)