From 501e0a844cb020f91dd05e91576e90f52240b3ad Mon Sep 17 00:00:00 2001 From: mayeut Date: Sat, 4 Jun 2022 13:31:37 +0200 Subject: [PATCH 1/3] chore: run AppVeyor workflow on change in `scripts/internal` Signed-off-by: mayeut --- appveyor.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/appveyor.yml b/appveyor.yml index 83e570ae1..3c26939eb 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -124,4 +124,5 @@ only_commits: - psutil/arch/windows/* - psutil/tests/* - scripts/* + - scripts/internal/* - setup.py From 9b3be327043685ba62668138982f7a83a88bd56d Mon Sep 17 00:00:00 2001 From: mayeut Date: Sat, 4 Jun 2022 13:33:43 +0200 Subject: [PATCH 2/3] fix: missing comma in `scripts/internal/winmake.py` Signed-off-by: mayeut --- scripts/internal/winmake.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/internal/winmake.py b/scripts/internal/winmake.py index 6dd1a9b79..9e3357b2e 100755 --- a/scripts/internal/winmake.py +++ b/scripts/internal/winmake.py @@ -50,7 +50,7 @@ "pip", "pyperf", "pyreadline", - "requests" + "requests", "setuptools", "wheel", ] From b533875b8104ccbe06d13004ca09be816e844fad Mon Sep 17 00:00:00 2001 From: mayeut Date: Sat, 4 Jun 2022 13:26:25 +0200 Subject: [PATCH 3/3] fix: disable flake8-bugbear on python < 3.5 Signed-off-by: mayeut --- scripts/internal/winmake.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/internal/winmake.py b/scripts/internal/winmake.py index 9e3357b2e..bb8800519 100755 --- a/scripts/internal/winmake.py +++ b/scripts/internal/winmake.py @@ -42,7 +42,6 @@ "coverage", "flake8", "flake8-blind-except", - "flake8-bugbear", "flake8-debugger", "flake8-print", "nose", @@ -54,6 +53,9 @@ "setuptools", "wheel", ] + +if sys.version_info[:2] >= (3, 5): + DEPS.append('flake8-bugbear') if sys.version_info[:2] <= (2, 7): DEPS.append('mock') if sys.version_info[:2] <= (3, 2):