X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/009a17739d64b86e10cc6aac35477cadf51cdcfb..668bace2aba1589aaa2bfd7c11787d79410bfd05:/src/black_primer/primer.json?ds=sidebyside diff --git a/src/black_primer/primer.json b/src/black_primer/primer.json index 0343726..8c966e3 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", "3.10"] }, "flake8-bugbear": { "cli_arguments": ["--experimental-string-processing"], @@ -50,11 +91,9 @@ "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": { - "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", @@ -103,10 +142,20 @@ "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", + "--extend-exclude", + "/test/orm/test_relationship_criteria.py" + ], + "expect_formatting_changes": true, "git_clone_url": "https://github.com/sqlalchemy/sqlalchemy.git", "long_checkout": false, "py_versions": ["all"]