angr / claripy

An abstraction layer for constraint solvers.
BSD 2-Clause "Simplified" License
275 stars 90 forks source link

Pyupgrade #328

Closed zwimer closed 1 year ago

zwimer commented 1 year ago

This applies a lot of overdue upgrades to claripy. The main 3 are:

  1. python2 super() -> python3 super()
  2. Prefer f-strings to "a {1} b".format(c) and "a %s b" % (c,)
  3. class ABC(object): -> class ABC:

This was run with the flag: --py38-plus

github-actions[bot] commented 1 year ago

Unit Test Results

     94 files  ±0       94 suites  ±0   1h 47m 56s :stopwatch: + 25m 26s 1 428 tests ±0  1 338 :heavy_check_mark: ±0  90 :zzz: ±0  0 :x: ±0  1 434 runs  ±0  1 344 :heavy_check_mark: ±0  90 :zzz: ±0  0 :x: ±0 

Results for commit 37bd3f36. ± Comparison against base commit 5f08756f.