├── .all-contributorsrc ├── .editorconfig ├── .gitattributes ├── .github ├── ISSUE_TEMPLATE │ ├── bug_report.md │ └── feature_request.md ├── dependabot.yml ├── hook_tester.py └── workflows │ ├── autoupdate-pre-commit-config.yml │ ├── binder-on-pr.yml │ ├── codeql.yml │ ├── test-nightly-schedule.yml │ ├── test-pre-coomit-hook.yml │ ├── test.yml │ └── trigger-binder.yml ├── .gitignore ├── .pre-commit-config.yaml ├── .pre-commit-hooks.yaml ├── .sourcery.yaml ├── AUTHORS.rst ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.rst ├── LICENSE ├── MANIFEST.in ├── Makefile ├── README.md ├── binder └── environment.yml ├── changelog.md ├── docs ├── Makefile ├── _static │ └── interrogate_badge.svg ├── _templates │ └── autosummary │ │ ├── class.rst │ │ ├── exception.rst │ │ ├── function.rst │ │ ├── method.rst │ │ └── module.rst ├── api_docs.rst ├── authors.rst ├── changelog.md ├── conf.py ├── contributing.rst ├── examples.rst ├── index.rst ├── installation.rst ├── make.bat ├── notebooks │ ├── with_out_tags.nblink │ └── with_tags.nblink ├── readme.md ├── requirements.txt └── usage.rst ├── flake8_nb ├── __init__.py ├── __main__.py ├── flake8_integration │ ├── __init__.py │ ├── cli.py │ └── formatter.py └── parsers │ ├── __init__.py │ ├── cell_parsers.py │ └── notebook_parsers.py ├── pyproject.toml ├── readthedocs.yml ├── requirements_dev.txt ├── setup.cfg ├── setup.py ├── tests ├── __init__.py ├── conftest.py ├── data │ ├── expected_output_code_cell_count.txt │ ├── expected_output_config_test.txt │ ├── expected_output_exec_count.txt │ ├── expected_output_total_cell_count.txt │ ├── intermediate_py_files │ │ ├── cell_with_source_string.ipynb_parsed │ │ ├── notebook_with_flake8_tags.ipynb_parsed │ │ ├── notebook_with_out_flake8_tags.ipynb_parsed │ │ └── notebook_with_out_ipython_magic.ipynb_parsed │ └── notebooks │ │ ├── cell_with_source_string.ipynb │ │ ├── falsy_python_file.py │ │ ├── not_a_notebook.ipynb │ │ ├── notebook_with_flake8_tags.ipynb │ │ ├── notebook_with_out_flake8_tags.ipynb │ │ └── notebook_with_out_ipython_magic.ipynb ├── flake8_integration │ ├── __init__.py │ ├── conftest.py │ ├── test_cli.py │ └── test_formatter.py ├── parsers │ ├── __init__.py │ ├── test_cell_parsers.py │ └── test_notebook_parsers.py └── test__main__.py └── tox.ini /.all-contributorsrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s-weigand/flake8-nb/HEAD/.all-contributorsrc -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s-weigand/flake8-nb/HEAD/.editorconfig -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s-weigand/flake8-nb/HEAD/.gitattributes -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s-weigand/flake8-nb/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s-weigand/flake8-nb/HEAD/.github/ISSUE_TEMPLATE/feature_request.md -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s-weigand/flake8-nb/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/hook_tester.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s-weigand/flake8-nb/HEAD/.github/hook_tester.py -------------------------------------------------------------------------------- /.github/workflows/autoupdate-pre-commit-config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s-weigand/flake8-nb/HEAD/.github/workflows/autoupdate-pre-commit-config.yml -------------------------------------------------------------------------------- /.github/workflows/binder-on-pr.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s-weigand/flake8-nb/HEAD/.github/workflows/binder-on-pr.yml -------------------------------------------------------------------------------- /.github/workflows/codeql.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s-weigand/flake8-nb/HEAD/.github/workflows/codeql.yml -------------------------------------------------------------------------------- /.github/workflows/test-nightly-schedule.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s-weigand/flake8-nb/HEAD/.github/workflows/test-nightly-schedule.yml -------------------------------------------------------------------------------- /.github/workflows/test-pre-coomit-hook.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s-weigand/flake8-nb/HEAD/.github/workflows/test-pre-coomit-hook.yml -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s-weigand/flake8-nb/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.github/workflows/trigger-binder.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s-weigand/flake8-nb/HEAD/.github/workflows/trigger-binder.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s-weigand/flake8-nb/HEAD/.gitignore -------------------------------------------------------------------------------- /.pre-commit-config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s-weigand/flake8-nb/HEAD/.pre-commit-config.yaml -------------------------------------------------------------------------------- /.pre-commit-hooks.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s-weigand/flake8-nb/HEAD/.pre-commit-hooks.yaml -------------------------------------------------------------------------------- /.sourcery.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s-weigand/flake8-nb/HEAD/.sourcery.yaml -------------------------------------------------------------------------------- /AUTHORS.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s-weigand/flake8-nb/HEAD/AUTHORS.rst -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s-weigand/flake8-nb/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /CONTRIBUTING.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s-weigand/flake8-nb/HEAD/CONTRIBUTING.rst -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s-weigand/flake8-nb/HEAD/LICENSE -------------------------------------------------------------------------------- /MANIFEST.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s-weigand/flake8-nb/HEAD/MANIFEST.in -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s-weigand/flake8-nb/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s-weigand/flake8-nb/HEAD/README.md -------------------------------------------------------------------------------- /binder/environment.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s-weigand/flake8-nb/HEAD/binder/environment.yml -------------------------------------------------------------------------------- /changelog.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s-weigand/flake8-nb/HEAD/changelog.md -------------------------------------------------------------------------------- /docs/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s-weigand/flake8-nb/HEAD/docs/Makefile -------------------------------------------------------------------------------- /docs/_static/interrogate_badge.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s-weigand/flake8-nb/HEAD/docs/_static/interrogate_badge.svg -------------------------------------------------------------------------------- /docs/_templates/autosummary/class.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s-weigand/flake8-nb/HEAD/docs/_templates/autosummary/class.rst -------------------------------------------------------------------------------- /docs/_templates/autosummary/exception.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s-weigand/flake8-nb/HEAD/docs/_templates/autosummary/exception.rst -------------------------------------------------------------------------------- /docs/_templates/autosummary/function.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s-weigand/flake8-nb/HEAD/docs/_templates/autosummary/function.rst -------------------------------------------------------------------------------- /docs/_templates/autosummary/method.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s-weigand/flake8-nb/HEAD/docs/_templates/autosummary/method.rst -------------------------------------------------------------------------------- /docs/_templates/autosummary/module.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s-weigand/flake8-nb/HEAD/docs/_templates/autosummary/module.rst -------------------------------------------------------------------------------- /docs/api_docs.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s-weigand/flake8-nb/HEAD/docs/api_docs.rst -------------------------------------------------------------------------------- /docs/authors.rst: -------------------------------------------------------------------------------- 1 | .. include:: ../AUTHORS.rst 2 | -------------------------------------------------------------------------------- /docs/changelog.md: -------------------------------------------------------------------------------- 1 | ```{include} ../changelog.md 2 | 3 | ``` 4 | -------------------------------------------------------------------------------- /docs/conf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s-weigand/flake8-nb/HEAD/docs/conf.py -------------------------------------------------------------------------------- /docs/contributing.rst: -------------------------------------------------------------------------------- 1 | .. include:: ../CONTRIBUTING.rst 2 | -------------------------------------------------------------------------------- /docs/examples.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s-weigand/flake8-nb/HEAD/docs/examples.rst -------------------------------------------------------------------------------- /docs/index.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s-weigand/flake8-nb/HEAD/docs/index.rst -------------------------------------------------------------------------------- /docs/installation.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s-weigand/flake8-nb/HEAD/docs/installation.rst -------------------------------------------------------------------------------- /docs/make.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s-weigand/flake8-nb/HEAD/docs/make.bat -------------------------------------------------------------------------------- /docs/notebooks/with_out_tags.nblink: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s-weigand/flake8-nb/HEAD/docs/notebooks/with_out_tags.nblink -------------------------------------------------------------------------------- /docs/notebooks/with_tags.nblink: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s-weigand/flake8-nb/HEAD/docs/notebooks/with_tags.nblink -------------------------------------------------------------------------------- /docs/readme.md: -------------------------------------------------------------------------------- 1 | ```{include} ../README.md 2 | 3 | ``` 4 | -------------------------------------------------------------------------------- /docs/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s-weigand/flake8-nb/HEAD/docs/requirements.txt -------------------------------------------------------------------------------- /docs/usage.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s-weigand/flake8-nb/HEAD/docs/usage.rst -------------------------------------------------------------------------------- /flake8_nb/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s-weigand/flake8-nb/HEAD/flake8_nb/__init__.py -------------------------------------------------------------------------------- /flake8_nb/__main__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s-weigand/flake8-nb/HEAD/flake8_nb/__main__.py -------------------------------------------------------------------------------- /flake8_nb/flake8_integration/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s-weigand/flake8-nb/HEAD/flake8_nb/flake8_integration/__init__.py -------------------------------------------------------------------------------- /flake8_nb/flake8_integration/cli.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s-weigand/flake8-nb/HEAD/flake8_nb/flake8_integration/cli.py -------------------------------------------------------------------------------- /flake8_nb/flake8_integration/formatter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s-weigand/flake8-nb/HEAD/flake8_nb/flake8_integration/formatter.py -------------------------------------------------------------------------------- /flake8_nb/parsers/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s-weigand/flake8-nb/HEAD/flake8_nb/parsers/__init__.py -------------------------------------------------------------------------------- /flake8_nb/parsers/cell_parsers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s-weigand/flake8-nb/HEAD/flake8_nb/parsers/cell_parsers.py -------------------------------------------------------------------------------- /flake8_nb/parsers/notebook_parsers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s-weigand/flake8-nb/HEAD/flake8_nb/parsers/notebook_parsers.py -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s-weigand/flake8-nb/HEAD/pyproject.toml -------------------------------------------------------------------------------- /readthedocs.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s-weigand/flake8-nb/HEAD/readthedocs.yml -------------------------------------------------------------------------------- /requirements_dev.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s-weigand/flake8-nb/HEAD/requirements_dev.txt -------------------------------------------------------------------------------- /setup.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s-weigand/flake8-nb/HEAD/setup.cfg -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s-weigand/flake8-nb/HEAD/setup.py -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s-weigand/flake8-nb/HEAD/tests/__init__.py -------------------------------------------------------------------------------- /tests/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s-weigand/flake8-nb/HEAD/tests/conftest.py -------------------------------------------------------------------------------- /tests/data/expected_output_code_cell_count.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s-weigand/flake8-nb/HEAD/tests/data/expected_output_code_cell_count.txt -------------------------------------------------------------------------------- /tests/data/expected_output_config_test.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s-weigand/flake8-nb/HEAD/tests/data/expected_output_config_test.txt -------------------------------------------------------------------------------- /tests/data/expected_output_exec_count.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s-weigand/flake8-nb/HEAD/tests/data/expected_output_exec_count.txt -------------------------------------------------------------------------------- /tests/data/expected_output_total_cell_count.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s-weigand/flake8-nb/HEAD/tests/data/expected_output_total_cell_count.txt -------------------------------------------------------------------------------- /tests/data/intermediate_py_files/cell_with_source_string.ipynb_parsed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s-weigand/flake8-nb/HEAD/tests/data/intermediate_py_files/cell_with_source_string.ipynb_parsed -------------------------------------------------------------------------------- /tests/data/intermediate_py_files/notebook_with_flake8_tags.ipynb_parsed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s-weigand/flake8-nb/HEAD/tests/data/intermediate_py_files/notebook_with_flake8_tags.ipynb_parsed -------------------------------------------------------------------------------- /tests/data/intermediate_py_files/notebook_with_out_flake8_tags.ipynb_parsed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s-weigand/flake8-nb/HEAD/tests/data/intermediate_py_files/notebook_with_out_flake8_tags.ipynb_parsed -------------------------------------------------------------------------------- /tests/data/intermediate_py_files/notebook_with_out_ipython_magic.ipynb_parsed: -------------------------------------------------------------------------------- 1 | # INTERMEDIATE_CELL_SEPARATOR (1,1,3) 2 | 3 | 4 | 1 + 1 5 | -------------------------------------------------------------------------------- /tests/data/notebooks/cell_with_source_string.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s-weigand/flake8-nb/HEAD/tests/data/notebooks/cell_with_source_string.ipynb -------------------------------------------------------------------------------- /tests/data/notebooks/falsy_python_file.py: -------------------------------------------------------------------------------- 1 | import foo 2 | -------------------------------------------------------------------------------- /tests/data/notebooks/not_a_notebook.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s-weigand/flake8-nb/HEAD/tests/data/notebooks/not_a_notebook.ipynb -------------------------------------------------------------------------------- /tests/data/notebooks/notebook_with_flake8_tags.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s-weigand/flake8-nb/HEAD/tests/data/notebooks/notebook_with_flake8_tags.ipynb -------------------------------------------------------------------------------- /tests/data/notebooks/notebook_with_out_flake8_tags.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s-weigand/flake8-nb/HEAD/tests/data/notebooks/notebook_with_out_flake8_tags.ipynb -------------------------------------------------------------------------------- /tests/data/notebooks/notebook_with_out_ipython_magic.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s-weigand/flake8-nb/HEAD/tests/data/notebooks/notebook_with_out_ipython_magic.ipynb -------------------------------------------------------------------------------- /tests/flake8_integration/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/flake8_integration/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s-weigand/flake8-nb/HEAD/tests/flake8_integration/conftest.py -------------------------------------------------------------------------------- /tests/flake8_integration/test_cli.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s-weigand/flake8-nb/HEAD/tests/flake8_integration/test_cli.py -------------------------------------------------------------------------------- /tests/flake8_integration/test_formatter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s-weigand/flake8-nb/HEAD/tests/flake8_integration/test_formatter.py -------------------------------------------------------------------------------- /tests/parsers/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/parsers/test_cell_parsers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s-weigand/flake8-nb/HEAD/tests/parsers/test_cell_parsers.py -------------------------------------------------------------------------------- /tests/parsers/test_notebook_parsers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s-weigand/flake8-nb/HEAD/tests/parsers/test_notebook_parsers.py -------------------------------------------------------------------------------- /tests/test__main__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s-weigand/flake8-nb/HEAD/tests/test__main__.py -------------------------------------------------------------------------------- /tox.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s-weigand/flake8-nb/HEAD/tox.ini --------------------------------------------------------------------------------