@@ -31,124 +31,3 @@ repos:
3131 rev : 23.7.0
3232 hooks :
3333 - id : black
34-
35-
36- # - repo: https://github.com/PyCQA/flake8
37- # rev: 6.0.0
38- # hooks:
39- # - id: flake8
40- # additional_dependencies:
41- # - flake8-black
42- # exclude: .git,__pycache__,build,dist
43- # repos:
44-
45- # # Compare the local template version to the latest remote template version
46- # # This hook should always pass. It will print a message if the local version
47- # # is out of date.
48- # - repo: https://github.com/lincc-frameworks/pre-commit-hooks
49- # rev: v0.1.1
50- # hooks:
51- # - id: check-lincc-frameworks-template-version
52- # name: Check template version
53- # description: Compare current template version against latest
54- # verbose: true
55-
56- # # Clear output from jupyter notebooks so that only the input cells are committed.
57- # - repo: local
58- # hooks:
59- # - id: jupyter-nb-clear-output
60- # name: Clear output from Jupyter notebooks
61- # description: Clear output from Jupyter notebooks.
62- # files: \.ipynb$
63- # stages: [commit]
64- # language: system
65- # entry: jupyter nbconvert --clear-output
66-
67- # # Prevents committing directly branches named 'main' and 'master'.
68- # - repo: https://github.com/pre-commit/pre-commit-hooks
69- # rev: v4.4.0
70- # hooks:
71- # - id: no-commit-to-branch
72- # name: Prevent main branch commits
73- # description: Prevent the user from committing directly to the primary branch.
74- # - id: check-added-large-files
75- # name: Check for large files
76- # description: Prevent the user from committing very large files.
77- # args: ['--maxkb=500']
78-
79- # # Verify that pyproject.toml is well formed
80- # - repo: https://github.com/abravalheri/validate-pyproject
81- # rev: v0.12.1
82- # hooks:
83- # - id: validate-pyproject
84- # name: Validate pyproject.toml
85- # description: Verify that pyproject.toml adheres to the established schema.
86-
87-
88- # # Automatically sort the imports used in .py files
89- # - repo: https://github.com/pycqa/isort
90- # rev: 5.12.0
91- # hooks:
92- # - id: isort
93- # name: Run isort
94- # description: Sort and organize imports in .py and .pyi files.
95- # types_or: [python, pyi]
96-
97-
98-
99- # # Analyze the code style and report code that doesn't adhere.
100- # - repo: https://github.com/psf/black
101- # rev: 23.7.0
102- # hooks:
103- # - id: black-jupyter
104- # name: Format code using black
105- # types_or: [python, pyi, jupyter]
106- # # It is recommended to specify the latest version of Python
107- # # supported by your project here, or alternatively use
108- # # pre-commit's default_language_version, see
109- # # https://pre-commit.com/#top_level-default_language_version
110- # language_version: python3.10
111-
112-
113-
114-
115- # # Run unit tests, verify that they pass. Note that coverage is run against
116- # # the ./src directory here because that is what will be committed. In the
117- # # github workflow script, the coverage is run against the installed package
118- # # and uploaded to Codecov by calling pytest like so:
119- # # `python -m pytest --cov=<package_name> --cov-report=xml`
120- # - repo: local
121- # hooks:
122- # - id: pytest-check
123- # name: Run unit tests
124- # description: Run unit tests with pytest.
125- # entry: bash -c "if python -m pytest --co -qq; then python -m pytest --cov=./src --cov-report=html; fi"
126- # language: system
127- # pass_filenames: false
128- # always_run: true
129- # # Make sure Sphinx can build the documentation while explicitly omitting
130- # # notebooks from the docs, so users don't have to wait through the execution
131- # # of each notebook or each commit. By default, these will be checked in the
132- # # GitHub workflows.
133- # - repo: local
134- # hooks:
135- # - id: sphinx-build
136- # name: Build documentation with Sphinx
137- # entry: sphinx-build
138- # language: system
139- # always_run: true
140- # exclude_types: [file, symlink]
141- # args:
142- # [
143- # "-M", # Run sphinx in make mode, so we can use -D flag later
144- # # Note: -M requires next 3 args to be builder, source, output
145- # "html", # Specify builder
146- # "./docs", # Source directory of documents
147- # "./_readthedocs", # Output directory for rendered documents
148- # "-T", # Show full trace back on exception
149- # "-E", # Don't use saved env; always read all files
150- # "-d", # Flag for cached environment and doctrees
151- # "./docs/_build/doctrees", # Directory
152- # "-D", # Flag to override settings in conf.py
153- # "exclude_patterns=notebooks/*", # Exclude our notebooks from pre-commit
154- # ]
0 commit comments