[".gitignore"文件的变更主要是新增了一个忽略规则,属于修改配置类型,而未跟踪的文件表明新增了一些项目依赖和源码目录,属于新增功能或依赖更新类型。综合分析如下:]
🔧 Add `.idea/` to .gitignore and introduce new project dependencies/files including `.python-version`, `pyproject.toml`, and `src/` directory.
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,3 +1,4 @@
|
|||||||
|
.idea/
|
||||||
# ---> macOS
|
# ---> macOS
|
||||||
# General
|
# General
|
||||||
.DS_Store
|
.DS_Store
|
||||||
|
|||||||
1
.python-version
Normal file
1
.python-version
Normal file
@@ -0,0 +1 @@
|
|||||||
|
3.12
|
||||||
14
pyproject.toml
Normal file
14
pyproject.toml
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
[project]
|
||||||
|
name = "py-common-lib"
|
||||||
|
version = "0.1.0"
|
||||||
|
description = "Add your description here"
|
||||||
|
readme = "README.md"
|
||||||
|
authors = [
|
||||||
|
{ name = "Hatter Jiang", email = "jht5945@gmail.com" }
|
||||||
|
]
|
||||||
|
requires-python = ">=3.12"
|
||||||
|
dependencies = []
|
||||||
|
|
||||||
|
[build-system]
|
||||||
|
requires = ["uv_build>=0.11.6,<0.12.0"]
|
||||||
|
build-backend = "uv_build"
|
||||||
2
src/py_common_lib/__init__.py
Normal file
2
src/py_common_lib/__init__.py
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
def hello() -> str:
|
||||||
|
return "Hello from py-common-lib!"
|
||||||
0
src/py_common_lib/py.typed
Normal file
0
src/py_common_lib/py.typed
Normal file
Reference in New Issue
Block a user