Skip to content

Commit ea96306

Browse files
committed
Make this into a functional app
Using flat layout, which is probably more common in this org.
1 parent abb323e commit ea96306

4 files changed

Lines changed: 12 additions & 1 deletion

File tree

app/__init__.py

Whitespace-only changes.

app/main.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
def main() -> None:
2+
print("Hello, World!")
3+
4+
5+
if __name__ == "__main__":
6+
main()

pyproject.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,11 @@ homepage = "https://github.com/EO-DataHub/"
8888
repository = "CHANGEME-https://github.com/EO-DataHub/<CHANGEME>"
8989
changelog = "CHANGEME-https://github.com/EO-DataHub/<CHANGEME>/main/CHANGELOG.md"
9090

91+
92+
[tool.uv]
93+
# see https://docs.astral.sh/uv/concepts/projects/config/#project-packaging to see if you need to set this to true
94+
package = false
95+
9196
[build-system]
9297
requires = ["hatchling"]
9398
build-backend = "hatchling.build"

tests/test_package.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
def test__success():
1+
def test__success() -> None:
22
assert True

0 commit comments

Comments
 (0)