mirror of
https://github.com/sharkdp/hyperfine.git
synced 2024-11-25 08:33:59 +03:00
Sort imports
This commit is contained in:
parent
cfae9cbdab
commit
bc37eff924
@ -8,6 +8,7 @@
|
||||
|
||||
import argparse
|
||||
import json
|
||||
|
||||
import numpy as np
|
||||
|
||||
parser = argparse.ArgumentParser()
|
||||
|
@ -12,8 +12,9 @@
|
||||
|
||||
import argparse
|
||||
import json
|
||||
import numpy as np
|
||||
|
||||
import matplotlib.pyplot as plt
|
||||
import numpy as np
|
||||
|
||||
parser = argparse.ArgumentParser(description=__doc__)
|
||||
parser.add_argument("file", help="JSON file with benchmark results")
|
||||
|
@ -12,9 +12,10 @@ errorbar plot."""
|
||||
|
||||
import argparse
|
||||
import json
|
||||
import matplotlib.pyplot as plt
|
||||
import sys
|
||||
|
||||
import matplotlib.pyplot as plt
|
||||
|
||||
parser = argparse.ArgumentParser(description=__doc__)
|
||||
parser.add_argument("file", help="JSON file with benchmark results", nargs="+")
|
||||
parser.add_argument(
|
||||
|
@ -15,6 +15,7 @@ thermal throttling and similar effects.
|
||||
|
||||
import argparse
|
||||
import json
|
||||
|
||||
import matplotlib.pyplot as plt
|
||||
import numpy as np
|
||||
|
||||
|
@ -17,6 +17,7 @@ Quoting from the matplotlib documentation:
|
||||
|
||||
import argparse
|
||||
import json
|
||||
|
||||
import matplotlib.pyplot as plt
|
||||
|
||||
parser = argparse.ArgumentParser(description=__doc__)
|
||||
|
2
scripts/ruff.toml
Normal file
2
scripts/ruff.toml
Normal file
@ -0,0 +1,2 @@
|
||||
[lint]
|
||||
extend-select = ["I"]
|
@ -13,6 +13,7 @@ the same."""
|
||||
import argparse
|
||||
import json
|
||||
import sys
|
||||
|
||||
from scipy import stats
|
||||
|
||||
parser = argparse.ArgumentParser(description=__doc__)
|
||||
|
Loading…
Reference in New Issue
Block a user