X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/aa31a117b16ed849710cf13cea5c064839beb29e..7af3abd38392588ac737bae09f6b15d80fe344b1:/src/black_primer/primer.json diff --git a/src/black_primer/primer.json b/src/black_primer/primer.json index 9064398..a6bfd4a 100644 --- a/src/black_primer/primer.json +++ b/src/black_primer/primer.json @@ -1,5 +1,5 @@ { - "configuration_format_version": 20200509, + "configuration_format_version": 20210815, "projects": { "STDIN": { "cli_arguments": ["--experimental-string-processing"], @@ -36,6 +36,37 @@ "long_checkout": false, "py_versions": ["all"] }, + "cpython": { + "disabled": true, + "disabled_reason": "To big / slow for GitHub Actions but handy to keep config to use manually or in some other CI in the future", + "base_path": "Lib", + "cli_arguments": [ + "--experimental-string-processing", + "--extend-exclude", + [ + "Lib/lib2to3/tests/data/different_encoding.py", + "|Lib/lib2to3/tests/data/false_encoding.py", + "|Lib/lib2to3/tests/data/py2_test_grammar.py", + "|Lib/test/bad_coding.py", + "|Lib/test/bad_coding2.py", + "|Lib/test/badsyntax_3131.py", + "|Lib/test/badsyntax_pep3120.py", + "|Lib/test/test_base64.py", + "|Lib/test/test_exceptions.py", + "|Lib/test/test_grammar.py", + "|Lib/test/test_named_expressions.py", + "|Lib/test/test_patma.py", + "|Lib/test/test_tokenize.py", + "|Lib/test/test_xml_etree.py", + "|Lib/traceback.py" + ] + ], + "expect_formatting_changes": true, + "git_clone_url": "https://github.com/python/cpython.git", + "long_checkout": false, + "py_versions": ["3.9", "3.10"], + "timeout_seconds": 900 + }, "django": { "cli_arguments": [ "--experimental-string-processing", @@ -46,11 +77,11 @@ "expect_formatting_changes": true, "git_clone_url": "https://github.com/django/django.git", "long_checkout": false, - "py_versions": ["3.8", "3.9"] + "py_versions": ["3.8", "3.9", "3.10"] }, "flake8-bugbear": { "cli_arguments": ["--experimental-string-processing"], - "expect_formatting_changes": false, + "expect_formatting_changes": true, "git_clone_url": "https://github.com/PyCQA/flake8-bugbear.git", "long_checkout": false, "py_versions": ["all"] @@ -60,7 +91,7 @@ "expect_formatting_changes": true, "git_clone_url": "https://github.com/HypothesisWorks/hypothesis.git", "long_checkout": false, - "py_versions": ["all"] + "py_versions": ["3.8", "3.9", "3.10"] }, "pandas": { "cli_arguments": ["--experimental-string-processing"], @@ -78,7 +109,7 @@ }, "poetry": { "cli_arguments": ["--experimental-string-processing"], - "expect_formatting_changes": true, + "expect_formatting_changes": false, "git_clone_url": "https://github.com/python-poetry/poetry.git", "long_checkout": false, "py_versions": ["all"] @@ -111,11 +142,10 @@ "long_checkout": false, "py_versions": ["all"] }, - "sqlalchemy": { - "no_cli_args_reason": "breaks black with new string parsing - #2188", - "cli_arguments": [], - "expect_formatting_changes": false, - "git_clone_url": "https://github.com/sqlalchemy/sqlalchemy.git", + "scikit-lego": { + "cli_arguments": ["--experimental-string-processing"], + "expect_formatting_changes": true, + "git_clone_url": "https://github.com/koaning/scikit-lego", "long_checkout": false, "py_versions": ["all"] },