Skip to content

Commit d851aab

Browse files
author
shmelevik
committed
venv setup
1 parent 0c4e5c8 commit d851aab

File tree

10 files changed

+131
-0
lines changed

10 files changed

+131
-0
lines changed

.python-version

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

brain_games/__init__.py

Whitespace-only changes.
183 Bytes
Binary file not shown.

brain_games/scripts/__init__.py

Whitespace-only changes.
191 Bytes
Binary file not shown.
546 Bytes
Binary file not shown.

brain_games/scripts/brain_games.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
def greet():
2+
print('Welcome to the Brain Games!')
3+
4+
5+
def main():
6+
greet()
7+
return
8+
9+
10+
if __name__ == "__main__":
11+
main()

hello.py

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

pyproject.toml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
[project]
2+
name = "hexlet-code"
3+
version = "0.1.0"
4+
description = "Add your description here"
5+
readme = "README.md"
6+
requires-python = ">=3.13"
7+
dependencies = [
8+
"pytest>=8.3.5",
9+
"ruff>=0.9.10",
10+
]
11+
12+
[build-system]
13+
requires = ["hatchling"]
14+
build-backend = "hatchling.build"
15+
16+
[tool.hatch.build.targets.wheel]
17+
packages = ["brain_games"]
18+
19+
[project.scripts]
20+
brain-games = "brain_games.scripts.brain_games:main"

uv.lock

Lines changed: 93 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)