generated from brenozd/python-template
chore: renaming to docai
This commit is contained in:
@@ -1,6 +1,3 @@
|
|||||||
# python-template
|
# Docai
|
||||||
|
|
||||||
Python Project Template
|
Documenting code is easy with Docai
|
||||||
|
|
||||||
## Running:
|
|
||||||
`python3 -m src.python_template`
|
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ requires = ["hatchling"]
|
|||||||
build-backend = "hatchling.build"
|
build-backend = "hatchling.build"
|
||||||
|
|
||||||
[project]
|
[project]
|
||||||
name = "python-template"
|
name = "docai"
|
||||||
version = "0.0.0"
|
version = "0.0.0"
|
||||||
dynamic = ["dependencies"]
|
dynamic = ["dependencies"]
|
||||||
|
|
||||||
@@ -11,13 +11,13 @@ dynamic = ["dependencies"]
|
|||||||
path = "requirements.txt"
|
path = "requirements.txt"
|
||||||
|
|
||||||
[tool.hatch.build.targets.wheel]
|
[tool.hatch.build.targets.wheel]
|
||||||
packages = ["src/python_template"]
|
packages = ["src/docai"]
|
||||||
|
|
||||||
[tool.hatch.build]
|
[tool.hatch.build]
|
||||||
skip-excluded-dirs = true
|
skip-excluded-dirs = true
|
||||||
|
|
||||||
[tool.hatch.envs.dev]
|
[tool.hatch.envs.dev]
|
||||||
python = "3.13"
|
python = "3.14"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"coverage[toml]",
|
"coverage[toml]",
|
||||||
"pytest",
|
"pytest",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[tool.ruff]
|
[tool.ruff]
|
||||||
line-length = 120
|
line-length = 120
|
||||||
target-version = "py312"
|
target-version = "py314"
|
||||||
|
|
||||||
select = [
|
select = [
|
||||||
"ALL", # include all the rules, including new ones
|
"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