Skip to content

Commit 11c90b2

Browse files
remove init py for conformance tests
1 parent 1751611 commit 11c90b2

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,10 @@ test: generate install $(TESTDATA_FILE) ## Run unit tests
6666

6767
.PHONY: conformance
6868
conformance: $(BIN)/protovalidate-conformance generate install ## Run conformance tests
69+
rm test/__init__.py # the init is required for pytest to work, but confuses python when running a standard script
6970
$(BIN)/protovalidate-conformance $(CONFORMANCE_ARGS) uv run test/conformance/runner.py
71+
touch test/__init__.py
72+
$(ADD_LICENSE_HEADER)
7073

7174
.PHONY: lint
7275
lint: install $(BIN)/buf ## Lint code

test/__init__.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Copyright 2023-2025 Buf Technologies, Inc.
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.

0 commit comments

Comments
 (0)