File tree Expand file tree Collapse file tree 3 files changed +27
-16
lines changed Expand file tree Collapse file tree 3 files changed +27
-16
lines changed Original file line number Diff line number Diff line change @@ -68,19 +68,28 @@ jobs:
68
68
- name : Build
69
69
run : |
70
70
python -m build
71
+ - uses : pypa/gh-action-pypi-publish@release/v1
72
+ if : runner.os == 'Linux' && startsWith(github.ref, 'refs/tags/')
73
+ with :
74
+ password : ${{ secrets.PYPI_API_TOKEN }}
71
75
- uses : actions/upload-artifact@v3
72
- if : ${{ ! startsWith(github.ref, 'refs/tags/') }}
76
+ if : runner.os == 'Linux' && ! startsWith(github.ref, 'refs/tags/')
73
77
with :
74
78
path : |
75
79
dist/*
76
- build/resources/*
77
80
- uses : softprops/action-gh-release@v1
78
- if : startsWith(github.ref, 'refs/tags/')
81
+ if : runner.os == 'Linux' && startsWith(github.ref, 'refs/tags/')
79
82
with :
83
+ body_path : build/CHANGELOG.md
80
84
files : |
81
85
dist/*
82
- build/resources/*
83
- - uses : pypa/gh-action-pypi-publish@release/v1
84
- if : runner.os == 'Linux' && startsWith(github.ref, 'refs/tags/')
85
- with :
86
- password : ${{ secrets.PYPI_API_TOKEN }}
86
+
87
+ # deploy:
88
+ # needs: build
89
+ # runs-on: ubuntu-latest
90
+ # if: startsWith(github.ref, 'refs/tags/')
91
+ # steps:
92
+ # - uses: Freed-Wu/[email protected]
93
+ # with:
94
+ # package_name: python-repl-python-wakatime
95
+ # ssh_private_key: ${{ secrets.AUR_SSH_PRIVATE_KEY }}
Original file line number Diff line number Diff line change 22
22
- id : check-toml
23
23
- id : check-json
24
24
- repo : https://github.com/Lucas-C/pre-commit-hooks
25
- rev : v1.4.2
25
+ rev : v1.5.1
26
26
hooks :
27
27
- id : remove-crlf
28
28
- repo : https://github.com/codespell-project/codespell
@@ -46,16 +46,15 @@ repos:
46
46
hooks :
47
47
- id : check-mailmap
48
48
- repo : https://github.com/adrienverge/yamllint
49
- rev : v1.30 .0
49
+ rev : v1.32 .0
50
50
hooks :
51
51
- id : yamllint
52
52
- repo : https://github.com/executablebooks/mdformat
53
53
rev : 0.7.16
54
54
hooks :
55
55
- id : mdformat
56
- args :
57
- - --number
58
56
additional_dependencies :
57
+ - mdformat-pyproject
59
58
- mdformat-gfm
60
59
- mdformat-myst
61
60
- mdformat-toc
@@ -64,13 +63,13 @@ repos:
64
63
- mdformat-black
65
64
- mdformat-config
66
65
- repo : https://github.com/DavidAnson/markdownlint-cli2
67
- rev : v0.6.0
66
+ rev : v0.7.1
68
67
hooks :
69
68
- id : markdownlint-cli2
70
69
additional_dependencies :
71
70
72
71
- repo : https://github.com/Freed-Wu/pre-commit-hooks
73
- rev : 0.0.10
72
+ rev : 0.0.11
74
73
hooks :
75
74
- id : update-CITATION.cff
76
75
- id : update-pyproject.toml
79
78
hooks :
80
79
- id : perltidy
81
80
- repo : https://github.com/psf/black
82
- rev : 23.1 .0
81
+ rev : 23.3 .0
83
82
hooks :
84
83
- id : black
85
84
- repo : https://github.com/PyCQA/isort
93
92
additional_dependencies :
94
93
- tomli
95
94
- repo : https://github.com/kumaraditya303/mirrors-pyright
96
- rev : v1.1.300
95
+ rev : v1.1.309
97
96
hooks :
98
97
- id : pyright
99
98
- repo : https://github.com/PyCQA/bandit
Original file line number Diff line number Diff line change @@ -61,6 +61,9 @@ write_to = "src/repl_python_wakatime/_version.py"
61
61
[tool .setuptools-generate ]
62
62
write-to = " src/repl_python_wakatime/_metainfo.py"
63
63
64
+ [tool .mdformat ]
65
+ number = true
66
+
64
67
[tool .black ]
65
68
line-length = 79
66
69
You can’t perform that action at this time.
0 commit comments