Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add Tcl as a supported language #930

Merged
merged 1 commit into from Mar 20, 2022
Merged

add Tcl as a supported language #930

merged 1 commit into from Mar 20, 2022

Conversation

shishitao
Copy link
Contributor

@shishitao shishitao commented Mar 12, 2022

  • update languages.py.
  • update docs/languages.md
  • add tests/notebooks/ipynb_tcl

pytest results: 1 failed, 2592 passed, 147 skipped, 1 xfailed, 4 warnings

================================== FAILURES ===================================
_ test_identity_source_write_read[.\\jupytext\\t
ests\\.\\test_pre_commit_scripts.py] _

py_file = '.\\jupytext\\tests\\.\\test_pre_commi
t_scripts.py'

    @pytest.mark.parametrize(
        "py_file",
        [
            py_file
            for py_file in list_notebooks("../jupytext") + list_notebooks(".")
            if py_file.endswith(".py")
            if "folding_markers" not in py_file
        ],
    )
    def test_identity_source_write_read(py_file):
        with open(py_file) as fp:
>           py = fp.read()
E           UnicodeDecodeError: 'gbk' codec can't decode byte 0x80 in position 924
6: illegal multibyte sequence

.\jupytext\tests\test_read_all_py.py:20: UnicodeDec
odeError
============================== warnings summary ===============================
tests/test_cli.py::test_format_prefix_suffix
  [warning] You might have passed a file name to the '--to' option, when a format
description was expected. Maybe you want to use the '-o' option instead?

tests/test_cli.py::test_no_warning
tests/test_cli.py::test_jupytext_to_file_emits_a_warning
tests/test_cli.py::test_jupytext_set_formats_file_gives_an_informative_error
  [warning] Passing None has been deprecated.
  See https://docs.pytest.org/en/latest/how-to/capture-warnings.html#additional-us
e-cases-of-warnings-in-tests for alternatives in common use cases.

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ===========================
FAILED tests/test_read_all_py.py::test_identity_source_write_read[.\\jupytext\\tests\\.\\test_pre_commit_scripts.py]
= 1 failed, 2592 passed, 147 skipped, 1 xfailed, 4 warnings in 117.73s (0:01:57) =

@mwouts
Copy link
Owner

mwouts commented Mar 20, 2022

Awesome, thank you so much @shishitao !

@mwouts mwouts merged commit 81ca38c into mwouts:main Mar 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants