-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathdummy_lib.py
More file actions
22 lines (19 loc) · 885 Bytes
/
dummy_lib.py
File metadata and controls
22 lines (19 loc) · 885 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# *******************************************************************************
# Copyright (c) 2025 Contributors to the Eclipse Foundation
#
# See the NOTICE file(s) distributed with this work for additional
# information regarding copyright ownership.
#
# This program and the accompanying materials are made available under the
# terms of the Apache License Version 2.0 which is available at
# https://www.apache.org/licenses/LICENSE-2.0
#
# SPDX-License-Identifier: Apache-2.0
# *******************************************************************************
"""Dummy python library that helps testing."""
def foo_not_allowed(bar_not_allowed: str) -> str:
"""Foo function that takes bar, prints it and then returns it.
Pylint doesn't allow foo and bar by default, therefore we appended with 'not_allowed'.
"""
print(bar_not_allowed)
return bar_not_allowed