generated from brenozd/python-template
chore: renaming to docai
This commit is contained in:
@@ -1,6 +1,3 @@
|
||||
# python-template
|
||||
# Docai
|
||||
|
||||
Python Project Template
|
||||
|
||||
## Running:
|
||||
`python3 -m src.python_template`
|
||||
Documenting code is easy with Docai
|
||||
|
||||
@@ -3,7 +3,7 @@ requires = ["hatchling"]
|
||||
build-backend = "hatchling.build"
|
||||
|
||||
[project]
|
||||
name = "python-template"
|
||||
name = "docai"
|
||||
version = "0.0.0"
|
||||
dynamic = ["dependencies"]
|
||||
|
||||
@@ -11,13 +11,13 @@ dynamic = ["dependencies"]
|
||||
path = "requirements.txt"
|
||||
|
||||
[tool.hatch.build.targets.wheel]
|
||||
packages = ["src/python_template"]
|
||||
packages = ["src/docai"]
|
||||
|
||||
[tool.hatch.build]
|
||||
skip-excluded-dirs = true
|
||||
|
||||
[tool.hatch.envs.dev]
|
||||
python = "3.13"
|
||||
python = "3.14"
|
||||
dependencies = [
|
||||
"coverage[toml]",
|
||||
"pytest",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[tool.ruff]
|
||||
line-length = 120
|
||||
target-version = "py312"
|
||||
target-version = "py314"
|
||||
|
||||
select = [
|
||||
"ALL", # include all the rules, including new ones
|
||||
|
||||
6
src/docai/main.py
Normal file
6
src/docai/main.py
Normal file
@@ -0,0 +1,6 @@
|
||||
def main():
|
||||
print("Docai")
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
@@ -1,3 +0,0 @@
|
||||
class AwesomeClass:
|
||||
def __init__(self):
|
||||
print("This is an Awesome Class!")
|
||||
@@ -1,10 +0,0 @@
|
||||
from python_template.awesome_include import AwesomeClass
|
||||
|
||||
|
||||
def main():
|
||||
print("Python Example")
|
||||
AwesomeClass()
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
Reference in New Issue
Block a user