├── .flake8 ├── .github └── workflows │ └── pythonapp.yml ├── .gitignore ├── .pre-commit-hooks.yaml ├── LICENCE ├── MANIFEST.in ├── README.md ├── black_nb ├── __init__.py └── cli.py ├── mypy.ini ├── noxfile.py ├── pyproject.toml ├── setup.py └── tests ├── __init__.py ├── data ├── clear_output_tests │ └── uncleared.ipynb ├── encoding_tests │ └── unformatted.ipynb ├── formatting_tests │ └── unformatted.ipynb └── invalid_input_tests │ ├── no_cells.ipynb │ └── not_json.ipynb └── test_cli.py /.flake8: -------------------------------------------------------------------------------- 1 | [flake8] 2 | per-file-ignores = noxfile.py: D001 -------------------------------------------------------------------------------- /.github/workflows/pythonapp.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomcatling/black-nb/HEAD/.github/workflows/pythonapp.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomcatling/black-nb/HEAD/.gitignore -------------------------------------------------------------------------------- /.pre-commit-hooks.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomcatling/black-nb/HEAD/.pre-commit-hooks.yaml -------------------------------------------------------------------------------- /LICENCE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomcatling/black-nb/HEAD/LICENCE -------------------------------------------------------------------------------- /MANIFEST.in: -------------------------------------------------------------------------------- 1 | include LICENCE 2 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomcatling/black-nb/HEAD/README.md -------------------------------------------------------------------------------- /black_nb/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomcatling/black-nb/HEAD/black_nb/__init__.py -------------------------------------------------------------------------------- /black_nb/cli.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomcatling/black-nb/HEAD/black_nb/cli.py -------------------------------------------------------------------------------- /mypy.ini: -------------------------------------------------------------------------------- 1 | [mypy] 2 | ignore_missing_imports = True -------------------------------------------------------------------------------- /noxfile.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomcatling/black-nb/HEAD/noxfile.py -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomcatling/black-nb/HEAD/pyproject.toml -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomcatling/black-nb/HEAD/setup.py -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/data/clear_output_tests/uncleared.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomcatling/black-nb/HEAD/tests/data/clear_output_tests/uncleared.ipynb -------------------------------------------------------------------------------- /tests/data/encoding_tests/unformatted.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomcatling/black-nb/HEAD/tests/data/encoding_tests/unformatted.ipynb -------------------------------------------------------------------------------- /tests/data/formatting_tests/unformatted.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomcatling/black-nb/HEAD/tests/data/formatting_tests/unformatted.ipynb -------------------------------------------------------------------------------- /tests/data/invalid_input_tests/no_cells.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomcatling/black-nb/HEAD/tests/data/invalid_input_tests/no_cells.ipynb -------------------------------------------------------------------------------- /tests/data/invalid_input_tests/not_json.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomcatling/black-nb/HEAD/tests/data/invalid_input_tests/not_json.ipynb -------------------------------------------------------------------------------- /tests/test_cli.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomcatling/black-nb/HEAD/tests/test_cli.py --------------------------------------------------------------------------------