skilleter-thingy 0.1.8__py3-none-any.whl → 0.1.10__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of skilleter-thingy might be problematic. Click here for more details.

@@ -102,7 +102,7 @@ class GitReviewError(BaseException):
102
102
  def error(msg, status=1):
103
103
  """ Report an error """
104
104
 
105
- sys.stderr.write('%s\n' % msg)
105
+ sys.stderr.write(f'{msg}\n')
106
106
  sys.exit(status)
107
107
 
108
108
  ################################################################################
@@ -254,7 +254,7 @@ class GitReview():
254
254
  self.__update_changed_files()
255
255
 
256
256
  if not self.changed_files:
257
- msg = ['There are no changes between %s and ' % args.commits[0]]
257
+ msg = [f'There are no changes between {args.commits[0]} and ']
258
258
 
259
259
  if args.commits[1]:
260
260
  msg.append(args.commits[1])
@@ -262,7 +262,7 @@ class GitReview():
262
262
  msg.append('local files')
263
263
 
264
264
  if args.paths:
265
- msg.append(' in the %s directory' % args.paths[0])
265
+ msg.append(f' in the {args.paths[0]} directory')
266
266
 
267
267
  raise GitReviewError(''.join(msg))
268
268
 
@@ -1389,7 +1389,7 @@ def parse_command_line():
1389
1389
  else:
1390
1390
  colour.error(f'[RED:ERROR]: Multiple commits match {entry}')
1391
1391
  else:
1392
- colour.error(f'[RED:ERROR] {entry} is not a valid commit ID' % entry)
1392
+ colour.error(f'[RED:ERROR] {entry} is not a valid commit ID')
1393
1393
 
1394
1394
  # Things work easier if we always have two commits to compare
1395
1395
 
@@ -733,7 +733,10 @@ def main():
733
733
  # Run an internal or external command-specific validation
734
734
 
735
735
  if args.internal_command:
736
- # Run the subcommand
736
+ # Everything except '+init' and '+clone' requires the configuration file
737
+
738
+ if args.command not in ('init', 'clone') and args.configuration_file is None:
739
+ error('Configuration file not found')
737
740
 
738
741
  COMMANDS[args.command](args, config, console)
739
742
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: skilleter_thingy
3
- Version: 0.1.8
3
+ Version: 0.1.10
4
4
  Summary: A collection of useful utilities, mainly aimed at making Git more friendly
5
5
  Author-email: John Skilleter <john@skilleter.org.uk>
6
6
  Project-URL: Home, https://skilleter.org.uk
@@ -15,7 +15,7 @@ skilleter_thingy/git_common.py,sha256=ZjNkvIBRDGNLFYwOu9FjeqdDKJdm0sndX5QATtmq29
15
15
  skilleter_thingy/git_hold.py,sha256=Zk6YUhr08znUOdpVJkJAt0rOtrCXnKE0NHoZzoaEEGo,4616
16
16
  skilleter_thingy/git_mr.py,sha256=g33FaRtJTbIQI0tfXv_a042YpGwtbg5fKw072aqjAdw,3086
17
17
  skilleter_thingy/git_parent.py,sha256=DLy38mo06R0YDyJWQjrP8pQS-qc7tvLYcn8unKqzEiQ,2774
18
- skilleter_thingy/git_review.py,sha256=e0yvDD9fIVhscnEP7hY26Od8VUbPEb7iMVMbY63Xjbc,52462
18
+ skilleter_thingy/git_review.py,sha256=Vmepd1qHPM9eHYE19KNO0UWJIYhGhlwPlVBjbgFZ2PM,52448
19
19
  skilleter_thingy/git_update.py,sha256=nw-bnDFrMi7yNf7P6gGF8gzmJUjXU5PhWhOYPgApcX4,14350
20
20
  skilleter_thingy/git_wt.py,sha256=Xm4VBBXMI4GxNtH3QvF-QL9rtvo4RrlWSbNQDFpGZu8,2954
21
21
  skilleter_thingy/gitcmp_helper.py,sha256=wutDHpBPOX8ZsXbsC5ApHxMY5tOKgD3P0eyFVs_mSAI,11214
@@ -24,7 +24,7 @@ skilleter_thingy/gl.py,sha256=9zbGpKxw6lX9RghLkdy-Q5sZlqtbB3uGFO04qTu1dH8,5954
24
24
  skilleter_thingy/gphotosync.py,sha256=M0yzt5IxCHezkCOQwz3Chn8oudY_M7PRffboIUFLedk,22477
25
25
  skilleter_thingy/linecount.py,sha256=ehTN6VD76i4U5k6dXuYoiqSRHI67_BP-bziklNAJSKY,4309
26
26
  skilleter_thingy/moviemover.py,sha256=QzUAWQzQ1AWWREIhl-VMaLo2h8MMhOekBnao5jGWV1s,4470
27
- skilleter_thingy/multigit.py,sha256=zrn8kIa9gP5WJztWJURz7HNu90XAsecdAWTc2upU-jc,28519
27
+ skilleter_thingy/multigit.py,sha256=TMfu6PCx0alxmv-qNwNnbG4rl4_eW3OrBZtvtGnuCWE,28708
28
28
  skilleter_thingy/photodupe.py,sha256=l0hbzSLb2Vk2ceteg-x9fHXCEE1uUuFo84hz5rsZUPA,4184
29
29
  skilleter_thingy/phototidier.py,sha256=BOu-cKHMivDlBqlRqv7sL3J6Ix1K2dxWWNcderldyZo,7818
30
30
  skilleter_thingy/py_audit.py,sha256=xJm5k5qyeA6ii8mODa4dOkmP8L1drv94UHuxR54RsIM,4384
@@ -60,9 +60,9 @@ skilleter_thingy/thingy/run.py,sha256=6SNKWF01fSxzB10GMU9ajraXYZqAL1w0PXkqjJdr1U
60
60
  skilleter_thingy/thingy/tfm_pane.py,sha256=oqy5zBzKwfbjbGqetbbhpKi4x5He7sl4qkmhUeqtdZc,19789
61
61
  skilleter_thingy/thingy/tidy.py,sha256=UWpBWuIMCE1UonLJErb41yW3RtpXrK_bt4Z4cZR-eDU,5910
62
62
  skilleter_thingy/thingy/venv_template.py,sha256=SsVNvSwojd8NnFeQaZPCRQYTNdwJRplpZpygbUEXRnY,1015
63
- skilleter_thingy-0.1.8.dist-info/licenses/LICENSE,sha256=ljOS4DjXvqEo5VzGfdaRwgRZPbNScGBmfwyC8PChvmQ,32422
64
- skilleter_thingy-0.1.8.dist-info/METADATA,sha256=ZaR46wxZx4NRjkdP62PgZ_dFd9wPoBdBhBD5l8XT_v0,29873
65
- skilleter_thingy-0.1.8.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
66
- skilleter_thingy-0.1.8.dist-info/entry_points.txt,sha256=u5ymS-KPljIGTnprV5yJsAjz7qgeT2BZ-Qo_Con_PFM,2145
67
- skilleter_thingy-0.1.8.dist-info/top_level.txt,sha256=8-JhgToBBiWURunmvfpSxEvNkDHQQ7r25-aBXtZv61g,17
68
- skilleter_thingy-0.1.8.dist-info/RECORD,,
63
+ skilleter_thingy-0.1.10.dist-info/licenses/LICENSE,sha256=ljOS4DjXvqEo5VzGfdaRwgRZPbNScGBmfwyC8PChvmQ,32422
64
+ skilleter_thingy-0.1.10.dist-info/METADATA,sha256=fEGixW3RcifB9BsfvxxQmL2y5LsWpRdD_jBeKSKTefM,29874
65
+ skilleter_thingy-0.1.10.dist-info/WHEEL,sha256=0CuiUZ_p9E4cD6NyLD6UG80LBXYyiSYZOKDm5lp32xk,91
66
+ skilleter_thingy-0.1.10.dist-info/entry_points.txt,sha256=u5ymS-KPljIGTnprV5yJsAjz7qgeT2BZ-Qo_Con_PFM,2145
67
+ skilleter_thingy-0.1.10.dist-info/top_level.txt,sha256=8-JhgToBBiWURunmvfpSxEvNkDHQQ7r25-aBXtZv61g,17
68
+ skilleter_thingy-0.1.10.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (78.1.0)
2
+ Generator: setuptools (80.3.1)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5