summaryrefslogtreecommitdiff
path: root/scripts/internal
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/internal
parentf716afc81d4c9ded08b23d376612e1491d3ea5da (diff)
downloadpsutil-471b19d2aa799cd73bded23379e864dd35bec2b6.tar.gz
Fix typos
Diffstat (limited to 'scripts/internal')
-rwxr-xr-xscripts/internal/download_wheels_appveyor.py2
-rwxr-xr-xscripts/internal/fix_flake8.py4
2 files changed, 3 insertions, 3 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'