2525 ".ruff.toml" ,
2626 "mypy.ini" ,
2727})
28- SUFFIXES_DOCUMENTATION = frozenset ({".rst" , ".md" })
2928SUFFIXES_C_OR_CPP = frozenset ({".c" , ".h" , ".cpp" })
29+ SUFFIXES_DOCUMENTATION = frozenset ({".rst" , ".md" })
3030
3131
3232@dataclass (kw_only = True , slots = True )
@@ -38,7 +38,7 @@ class Outputs:
3838 run_windows_msi : bool = False
3939
4040
41- def compute_changes ():
41+ def compute_changes () -> None :
4242 target_branch , head_branch = git_branches ()
4343 if target_branch and head_branch :
4444 # Getting changed files only makes sense on a pull request
@@ -55,7 +55,7 @@ def compute_changes():
5555 print ("Run tests" )
5656
5757 if outputs .run_hypothesis :
58- print ("Run hypothesis tests" )
58+ print ("Run Hypothesis tests" )
5959
6060 if outputs .run_ci_fuzz :
6161 print ("Run CIFuzz tests" )
@@ -155,14 +155,14 @@ def process_target_branch(outputs: Outputs, git_branch: str) -> Outputs:
155155 if not git_branch :
156156 outputs .run_tests = True
157157
158- # Check if we should run the hypothesis tests
159- if git_branch in {"3.8" , "3. 9" , "3.10" , "3.11" }:
160- print ("Branch too old for hypothesis tests" )
158+ # Check if we should run the Hypothesis tests
159+ if git_branch in {"3.9" , "3.10" , "3.11" }:
160+ print ("Branch too old for Hypothesis tests" )
161161 outputs .run_hypothesis = False
162162 else :
163163 outputs .run_hypothesis = outputs .run_tests
164164
165- # oss-fuzz maintains a configuration for fuzzing the main branch of
165+ # OSS-Fuzz maintains a configuration for fuzzing the main branch of
166166 # CPython, so CIFuzz should be run only for code that is likely to be
167167 # merged into the main branch; compatibility with older branches may
168168 # be broken.
0 commit comments