X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/904fe94ceba29f3f0c5b8772c4faf699de57338f..31a9d8a184a4dd2268df53672ec5dbc017a5eec9:/src/black_primer/primer.json?ds=sidebyside diff --git a/src/black_primer/primer.json b/src/black_primer/primer.json index 0bbac85..0d1018f 100644 --- a/src/black_primer/primer.json +++ b/src/black_primer/primer.json @@ -1,6 +1,13 @@ { - "configuration_format_version": 20200509, + "configuration_format_version": 20210815, "projects": { + "STDIN": { + "cli_arguments": ["--experimental-string-processing"], + "expect_formatting_changes": false, + "git_clone_url": "", + "long_checkout": false, + "py_versions": ["all"] + }, "aioexabgp": { "cli_arguments": ["--experimental-string-processing"], "expect_formatting_changes": false, @@ -29,14 +36,48 @@ "long_checkout": false, "py_versions": ["all"] }, - "django": { - "disabled_reason": "black --check --diff returned 123 on tests_syntax_error.py", + "cpython": { "disabled": true, - "cli_arguments": ["--experimental-string-processing"], + "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", + "--skip-string-normalization", + "--extend-exclude", + "/((docs|scripts)/|django/forms/models.py|tests/gis_tests/test_spatialrefsys.py|tests/test_runner_apps/tagged/tests_syntax_error.py)" + ], "expect_formatting_changes": true, "git_clone_url": "https://github.com/django/django.git", "long_checkout": false, - "py_versions": ["all"] + "py_versions": ["3.8", "3.9"] }, "flake8-bugbear": { "cli_arguments": ["--experimental-string-processing"], @@ -53,8 +94,6 @@ "py_versions": ["all"] }, "pandas": { - "disabled_reason": "black-primer runs failing on Pandas - #2193", - "disabled": true, "cli_arguments": ["--experimental-string-processing"], "expect_formatting_changes": true, "git_clone_url": "https://github.com/pandas-dev/pandas.git", @@ -91,7 +130,7 @@ }, "ptr": { "cli_arguments": ["--experimental-string-processing"], - "expect_formatting_changes": true, + "expect_formatting_changes": false, "git_clone_url": "https://github.com/facebookincubator/ptr.git", "long_checkout": false, "py_versions": ["all"] @@ -103,10 +142,16 @@ "long_checkout": false, "py_versions": ["all"] }, + "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"] + }, "sqlalchemy": { - "no_cli_args_reason": "breaks black with new string parsing - #2188", - "cli_arguments": [], - "expect_formatting_changes": false, + "cli_arguments": ["--experimental-string-processing"], + "expect_formatting_changes": true, "git_clone_url": "https://github.com/sqlalchemy/sqlalchemy.git", "long_checkout": false, "py_versions": ["all"]