Skip to content

Commit 0e3204b

Browse files
committed
0.0.2
1 parent 159fd6a commit 0e3204b

File tree

4 files changed

+85
-41
lines changed

4 files changed

+85
-41
lines changed

TODO

Lines changed: 0 additions & 39 deletions
This file was deleted.

TODO.md

Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
# .pypirc
2+
3+
```ini
4+
[distutils]
5+
index-servers =
6+
pypi
7+
testpypi
8+
9+
[pypi]
10+
repository = https://upload.pypi.org/legacy/
11+
12+
[testpypi]
13+
repository = https://test.pypi.org/legacy/
14+
```
15+
16+
17+
18+
19+
# pyproject.toml
20+
```ini
21+
[tool.flake8]
22+
max-line-length = 120
23+
select = "F,E,W,B,B901,B902,B903"
24+
exclude = [
25+
".eggs",
26+
".git",
27+
".tox",
28+
"nssm",
29+
"obj",
30+
"out",
31+
"packages",
32+
"pywin32",
33+
"tests",
34+
"swagger_client"
35+
]
36+
ignore = [
37+
"E722",
38+
"B001",
39+
"W503",
40+
"E203"
41+
]
42+
```
43+
44+
github workflow publish
45+
```yaml
46+
name: Publish PyPI
47+
48+
on:
49+
push:
50+
tags:
51+
- 'v*'
52+
53+
jobs:
54+
deploy:
55+
runs-on: ubuntu-latest
56+
steps:
57+
- uses: actions/checkout@v4
58+
- uses: actions/setup-python@v5
59+
with:
60+
python-version: '3.7'
61+
- name: Publish packages
62+
env:
63+
FLIT_USERNAME: __token__
64+
FLIT_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
65+
run: |
66+
pip install flit
67+
flit publish --setup-py
68+
```
69+
70+
github `dependabot.yml`
71+
```yaml
72+
# To get started with Dependabot version updates, you'll need to specify which
73+
# package ecosystems to update and where the package manifests are located.
74+
# Please see the documentation for all configuration options:
75+
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
76+
77+
version: 2
78+
updates:
79+
- package-ecosystem: "github-actions" # See documentation for possible values
80+
directory: "/" # Location of package manifests
81+
schedule:
82+
interval: "weekly"
83+
```

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ fail_under = 100
7070

7171
[tool.commitizen]
7272
name = "cz_conventional_commits"
73-
version = "0.0.1dev"
73+
version = "0.0.2"
7474
tag_format = "v$version"
7575
version_files = [
7676
"yd_test_python_package_00/__init__.py",
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
"""My first python package"""
22

3-
__version__ = "0.0.1"
3+
__version__ = "0.0.2"

0 commit comments

Comments
 (0)