summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorKian-Meng Ang <kianmeng@cpan.org>2022-01-27 08:26:28 +0800
committerKian-Meng Ang <kianmeng@cpan.org>2022-01-27 08:26:28 +0800
commit471b19d2aa799cd73bded23379e864dd35bec2b6 (patch)
tree26edd4638ab349b8c685aa645fbd9fb522e0cd89 /scripts
parentf716afc81d4c9ded08b23d376612e1491d3ea5da (diff)
downloadpsutil-471b19d2aa799cd73bded23379e864dd35bec2b6.tar.gz
Fix typos
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/internal/download_wheels_appveyor.py2
-rwxr-xr-xscripts/internal/fix_flake8.py4
-rwxr-xr-xscripts/iotop.py2
3 files changed, 4 insertions, 4 deletions
diff --git a/scripts/internal/download_wheels_appveyor.py b/scripts/internal/download_wheels_appveyor.py
index e4d6ffc0..786e23d8 100755
--- a/scripts/internal/download_wheels_appveyor.py
+++ b/scripts/internal/download_wheels_appveyor.py
@@ -7,7 +7,7 @@
"""
Script which downloads wheel files hosted on AppVeyor:
https://ci.appveyor.com/project/giampaolo/psutil
-Readapted from the original recipe of Ibarra Corretge'
+Re-adapted from the original recipe of Ibarra Corretge'
<saghul@gmail.com>:
http://code.saghul.net/index.php/2015/09/09/
"""
diff --git a/scripts/internal/fix_flake8.py b/scripts/internal/fix_flake8.py
index 14fbb4d2..44da4a32 100755
--- a/scripts/internal/fix_flake8.py
+++ b/scripts/internal/fix_flake8.py
@@ -81,7 +81,7 @@ def handle_f401(fname, lineno):
def remove_lines(fname, entries):
"""Check if we should remove lines, then do it.
- Return the numner of lines removed.
+ Return the number of lines removed.
"""
to_remove = []
for entry in entries:
@@ -116,7 +116,7 @@ def remove_lines(fname, entries):
def add_lines(fname, entries):
"""Check if we should remove lines, then do it.
- Return the numner of lines removed.
+ Return the number of lines removed.
"""
EXPECTED_BLANK_LINES = (
'E302', # 'expected 2 blank limes, found 1'
diff --git a/scripts/iotop.py b/scripts/iotop.py
index 91bc3b18..f4d62d46 100755
--- a/scripts/iotop.py
+++ b/scripts/iotop.py
@@ -65,7 +65,7 @@ def printl(line, highlight=False):
def poll(interval):
- """Calculate IO usage by comparing IO statics before and
+ """Calculate IO usage by comparing IO statistics before and
after the interval.
Return a tuple including all currently running processes
sorted by IO activity and total disks I/O activity.