File tree Expand file tree Collapse file tree 3 files changed +14
-8
lines changed
Expand file tree Collapse file tree 3 files changed +14
-8
lines changed Original file line number Diff line number Diff line change 5252 - run : pipx run build
5353
5454 - name : Upload build artifacts
55- uses : actions/upload-artifact@v3
55+ uses : actions/upload-artifact@v4
5656 with :
5757 name : dist
5858 path : dist
6666
6767 steps :
6868 - name : Download build artifacts
69- uses : actions/download-artifact@v3
69+ uses : actions/download-artifact@v4
7070 with :
7171 name : dist
7272 path : dist
Original file line number Diff line number Diff line change 11[build-system ]
2- requires = [" setuptools " , " setuptools_scm " ]
3- build-backend = " setuptools.build_meta "
2+ requires = [" hatchling " , " hatch-vcs " ]
3+ build-backend = " hatchling.build "
44
55[project ]
66name = " robotpy-cli"
@@ -22,4 +22,8 @@ robotpy = "robotpy.main:main"
2222[project .urls ]
2323repository = " https://github.com/robotpy/robotpy-cli"
2424
25- [tool .setuptools_scm ]
25+ [tool .hatch .build .targets .wheel ]
26+ packages = [" robotpy" ]
27+
28+ [tool .hatch .version ]
29+ source = " vcs"
Original file line number Diff line number Diff line change @@ -54,9 +54,11 @@ def formatException(self, exc_info):
5454 locals_lines = locals_lines [:MAX_VARS_LINES ]
5555 locals_lines [- 1 ] = "..."
5656 output_lines .extend (
57- line [: MAX_LINE_LENGTH - 3 ] + "..."
58- if len (line ) > MAX_LINE_LENGTH
59- else line
57+ (
58+ line [: MAX_LINE_LENGTH - 3 ] + "..."
59+ if len (line ) > MAX_LINE_LENGTH
60+ else line
61+ )
6062 for line in locals_lines
6163 )
6264 output_lines .append ("\n " )
You can’t perform that action at this time.
0 commit comments