Skip to content

Commit

Permalink
Working license header formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
natibek committed Jul 11, 2024
1 parent 9f751c9 commit 1737f51
Show file tree
Hide file tree
Showing 5 changed files with 432 additions and 0 deletions.
2 changes: 2 additions & 0 deletions checks-superstaq/checks_superstaq/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
coverage_,
flake8_,
format_,
license_header_format_,
mypy_,
pylint_,
pytest_,
Expand All @@ -23,6 +24,7 @@
"coverage_",
"flake8_",
"format_",
"license_header_format_",
"mypy_",
"pylint_",
"pytest_",
Expand Down
15 changes: 15 additions & 0 deletions checks-superstaq/checks_superstaq/checks-pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
[tool.license_header_format]
license_header = """# Copyright 2024 Infleqtion
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
"""
# Check script configuration:

[tool.pytest.ini_options]
Expand Down
Loading

0 comments on commit 1737f51

Please sign in to comment.