1+ #
2+ # Licensed to the Apache Software Foundation (ASF) under one or more
3+ # contributor license agreements. See the NOTICE file distributed with
4+ # this work for additional information regarding copyright ownership.
5+ # The ASF licenses this file to You under the Apache License, Version 2.0
6+ # (the "License"); you may not use this file except in compliance with
7+ # the License. You may obtain a copy of the License at
8+ #
9+ # http://www.apache.org/licenses/LICENSE-2.0
10+ #
11+ # Unless required by applicable law or agreed to in writing, software
12+ # distributed under the License is distributed on an "AS IS" BASIS,
13+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+ # See the License for the specific language governing permissions and
15+ # limitations under the License.
16+ #
17+
18+ project-includes = [" apache_beam" ]
19+ python-version = " 3.10.0"
20+ ignore-missing-imports = [" *" ]
21+ untyped-def-behavior = " skip-and-infer-return-any"
22+
23+ [errors ]
24+ missing-attribute = " ignore"
25+ invalid-annotation = " ignore"
26+ redundant-condition = " ignore"
27+ untyped-import = " ignore"
28+ # Beam-specific supressions to keep pyrefly green
29+ # These are in descending order of instances, e.g there are
30+ # fewer violations for the check on line 40 than for the check on line 35.
31+ # violations.
32+ #
33+ # TODO(https://github.com/apache/beam/issues/37699): Reduce the number of
34+ # ignored checks.
35+ bad-param-name-override = " ignore"
36+ bad-override = " ignore"
37+ bad-argument-type = " ignore"
38+ unsupported-operation = " ignore"
39+ implicit-import = " ignore"
40+ bad-function-definition = " ignore"
41+ bad-return = " ignore"
42+ unbound-name = " ignore"
43+ no-matching-overload = " ignore"
44+ bad-assignment = " ignore"
45+ missing-argument = " ignore"
46+ bad-index = " ignore"
47+ invalid-type-var = " ignore"
48+ unknown-name = " ignore"
49+ not-a-type = " ignore"
50+ deprecated = " ignore"
51+ not-callable = " ignore"
52+ invalid-argument = " ignore"
53+ invalid-inheritance = " ignore"
54+ not-iterable = " ignore"
55+ unexpected-keyword = " ignore"
56+ bad-specialization = " ignore"
57+ bad-context-manager = " ignore"
58+ invalid-yield = " ignore"
59+ bad-argument-count = " ignore"
60+ bad-typed-dict-key = " ignore"
61+ no-access = " ignore"
62+ bad-unpacking = " ignore"
0 commit comments