diff --git a/flit/vendorized/readme/rst.py b/flit/vendorized/readme/rst.py index 1cd4f141..5f3ab121 100644 --- a/flit/vendorized/readme/rst.py +++ b/flit/vendorized/readme/rst.py @@ -76,7 +76,7 @@ def emptytag( # Output math blocks as LaTeX that can be interpreted by MathJax for # a prettier display of Math formulas. - # Pass a dummy path to supress docutils warning and emit HTML. + # Pass a dummy path to suppress docutils warning and emit HTML. "math_output": "MathJax /dummy.js", # Disable raw html as enabling it is a security risk, we do not want diff --git a/flit_core/flit_core/config.py b/flit_core/flit_core/config.py index 5e4dcf69..e8e18c50 100644 --- a/flit_core/flit_core/config.py +++ b/flit_core/flit_core/config.py @@ -697,7 +697,7 @@ def isabs_ish(path): def normalise_compound_license_expr(s: str) -> str: - """Validate and normalise a compund SPDX license expression. + """Validate and normalise a compound SPDX license expression. Per the specification, licence expression operators (AND, OR and WITH) are matched case-sensitively. The WITH operator is not currently supported. diff --git a/tests/test_init.py b/tests/test_init.py index 3325a683..ee4e42d0 100644 --- a/tests/test_init.py +++ b/tests/test_init.py @@ -207,7 +207,7 @@ def test_find_readme_not_found(): assert ib.find_readme() is None -def test_init_readme_found_yes_choosen(): +def test_init_readme_found_yes_chosen(): responses = ['test_module_name', 'Test Author', 'test_email@example.com',