Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 41 additions & 0 deletions conformance/results/mypy/namedtuples_keywords_hard.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
conformant = "Pass"
conformance_automated = "Pass"
errors_diff = """
"""
output = """
namedtuples_keywords_hard.py:7: error: "namedtuple()" field name "False" is a keyword [misc]
namedtuples_keywords_hard.py:7: error: "namedtuple()" field name "None" is a keyword [misc]
namedtuples_keywords_hard.py:7: error: "namedtuple()" field name "True" is a keyword [misc]
namedtuples_keywords_hard.py:7: error: "namedtuple()" field name "and" is a keyword [misc]
namedtuples_keywords_hard.py:7: error: "namedtuple()" field name "as" is a keyword [misc]
namedtuples_keywords_hard.py:7: error: "namedtuple()" field name "assert" is a keyword [misc]
namedtuples_keywords_hard.py:7: error: "namedtuple()" field name "async" is a keyword [misc]
namedtuples_keywords_hard.py:7: error: "namedtuple()" field name "await" is a keyword [misc]
namedtuples_keywords_hard.py:7: error: "namedtuple()" field name "break" is a keyword [misc]
namedtuples_keywords_hard.py:7: error: "namedtuple()" field name "class" is a keyword [misc]
namedtuples_keywords_hard.py:7: error: "namedtuple()" field name "continue" is a keyword [misc]
namedtuples_keywords_hard.py:7: error: "namedtuple()" field name "def" is a keyword [misc]
namedtuples_keywords_hard.py:7: error: "namedtuple()" field name "del" is a keyword [misc]
namedtuples_keywords_hard.py:7: error: "namedtuple()" field name "elif" is a keyword [misc]
namedtuples_keywords_hard.py:7: error: "namedtuple()" field name "else" is a keyword [misc]
namedtuples_keywords_hard.py:7: error: "namedtuple()" field name "except" is a keyword [misc]
namedtuples_keywords_hard.py:7: error: "namedtuple()" field name "finally" is a keyword [misc]
namedtuples_keywords_hard.py:7: error: "namedtuple()" field name "for" is a keyword [misc]
namedtuples_keywords_hard.py:7: error: "namedtuple()" field name "from" is a keyword [misc]
namedtuples_keywords_hard.py:7: error: "namedtuple()" field name "global" is a keyword [misc]
namedtuples_keywords_hard.py:7: error: "namedtuple()" field name "if" is a keyword [misc]
namedtuples_keywords_hard.py:7: error: "namedtuple()" field name "import" is a keyword [misc]
namedtuples_keywords_hard.py:7: error: "namedtuple()" field name "in" is a keyword [misc]
namedtuples_keywords_hard.py:7: error: "namedtuple()" field name "is" is a keyword [misc]
namedtuples_keywords_hard.py:7: error: "namedtuple()" field name "lambda" is a keyword [misc]
namedtuples_keywords_hard.py:7: error: "namedtuple()" field name "nonlocal" is a keyword [misc]
namedtuples_keywords_hard.py:7: error: "namedtuple()" field name "not" is a keyword [misc]
namedtuples_keywords_hard.py:7: error: "namedtuple()" field name "or" is a keyword [misc]
namedtuples_keywords_hard.py:7: error: "namedtuple()" field name "pass" is a keyword [misc]
namedtuples_keywords_hard.py:7: error: "namedtuple()" field name "raise" is a keyword [misc]
namedtuples_keywords_hard.py:7: error: "namedtuple()" field name "return" is a keyword [misc]
namedtuples_keywords_hard.py:7: error: "namedtuple()" field name "try" is a keyword [misc]
namedtuples_keywords_hard.py:7: error: "namedtuple()" field name "while" is a keyword [misc]
namedtuples_keywords_hard.py:7: error: "namedtuple()" field name "with" is a keyword [misc]
namedtuples_keywords_hard.py:7: error: "namedtuple()" field name "yield" is a keyword [misc]
"""
6 changes: 6 additions & 0 deletions conformance/results/mypy/namedtuples_keywords_soft.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
conformant = "Pass"
conformance_automated = "Pass"
errors_diff = """
"""
output = """
"""
7 changes: 7 additions & 0 deletions conformance/results/pycroscope/namedtuples_keywords_hard.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
conformant = "Pass"
conformance_automated = "Pass"
errors_diff = """
"""
output = """
./namedtuples_keywords_hard.py:7:19: Error calling (typename: str, field_names: str | collections.abc.Iterable[str], *, rename: bool = Literal[False], module: str | None = None, defaults: collections.abc.Iterable[Any[explicit]] | None = None) -> type[tuple[Any[explicit], ...]]: Type names and field names cannot be a keyword: 'False' [incompatible_call]
"""
6 changes: 6 additions & 0 deletions conformance/results/pycroscope/namedtuples_keywords_soft.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
conformant = "Pass"
conformance_automated = "Pass"
errors_diff = """
"""
output = """
"""
41 changes: 41 additions & 0 deletions conformance/results/pyrefly/namedtuples_keywords_hard.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
conformant = "Pass"
conformance_automated = "Pass"
errors_diff = """
"""
output = """
ERROR namedtuples_keywords_hard.py:7:52-59: `False` is not a valid identifier [bad-class-definition]
ERROR namedtuples_keywords_hard.py:7:61-67: `None` is not a valid identifier [bad-class-definition]
ERROR namedtuples_keywords_hard.py:7:69-75: `True` is not a valid identifier [bad-class-definition]
ERROR namedtuples_keywords_hard.py:7:77-82: `and` is not a valid identifier [bad-class-definition]
ERROR namedtuples_keywords_hard.py:7:84-88: `as` is not a valid identifier [bad-class-definition]
ERROR namedtuples_keywords_hard.py:7:90-98: `assert` is not a valid identifier [bad-class-definition]
ERROR namedtuples_keywords_hard.py:7:100-107: `async` is not a valid identifier [bad-class-definition]
ERROR namedtuples_keywords_hard.py:7:109-116: `await` is not a valid identifier [bad-class-definition]
ERROR namedtuples_keywords_hard.py:7:118-125: `break` is not a valid identifier [bad-class-definition]
ERROR namedtuples_keywords_hard.py:7:127-134: `class` is not a valid identifier [bad-class-definition]
ERROR namedtuples_keywords_hard.py:7:136-146: `continue` is not a valid identifier [bad-class-definition]
ERROR namedtuples_keywords_hard.py:7:148-153: `def` is not a valid identifier [bad-class-definition]
ERROR namedtuples_keywords_hard.py:7:155-160: `del` is not a valid identifier [bad-class-definition]
ERROR namedtuples_keywords_hard.py:7:162-168: `elif` is not a valid identifier [bad-class-definition]
ERROR namedtuples_keywords_hard.py:7:170-176: `else` is not a valid identifier [bad-class-definition]
ERROR namedtuples_keywords_hard.py:7:178-186: `except` is not a valid identifier [bad-class-definition]
ERROR namedtuples_keywords_hard.py:7:188-197: `finally` is not a valid identifier [bad-class-definition]
ERROR namedtuples_keywords_hard.py:7:199-204: `for` is not a valid identifier [bad-class-definition]
ERROR namedtuples_keywords_hard.py:7:206-212: `from` is not a valid identifier [bad-class-definition]
ERROR namedtuples_keywords_hard.py:7:214-222: `global` is not a valid identifier [bad-class-definition]
ERROR namedtuples_keywords_hard.py:7:224-228: `if` is not a valid identifier [bad-class-definition]
ERROR namedtuples_keywords_hard.py:7:230-238: `import` is not a valid identifier [bad-class-definition]
ERROR namedtuples_keywords_hard.py:7:240-244: `in` is not a valid identifier [bad-class-definition]
ERROR namedtuples_keywords_hard.py:7:246-250: `is` is not a valid identifier [bad-class-definition]
ERROR namedtuples_keywords_hard.py:7:252-260: `lambda` is not a valid identifier [bad-class-definition]
ERROR namedtuples_keywords_hard.py:7:262-272: `nonlocal` is not a valid identifier [bad-class-definition]
ERROR namedtuples_keywords_hard.py:7:274-279: `not` is not a valid identifier [bad-class-definition]
ERROR namedtuples_keywords_hard.py:7:281-285: `or` is not a valid identifier [bad-class-definition]
ERROR namedtuples_keywords_hard.py:7:287-293: `pass` is not a valid identifier [bad-class-definition]
ERROR namedtuples_keywords_hard.py:7:295-302: `raise` is not a valid identifier [bad-class-definition]
ERROR namedtuples_keywords_hard.py:7:304-312: `return` is not a valid identifier [bad-class-definition]
ERROR namedtuples_keywords_hard.py:7:314-319: `try` is not a valid identifier [bad-class-definition]
ERROR namedtuples_keywords_hard.py:7:321-328: `while` is not a valid identifier [bad-class-definition]
ERROR namedtuples_keywords_hard.py:7:330-336: `with` is not a valid identifier [bad-class-definition]
ERROR namedtuples_keywords_hard.py:7:338-345: `yield` is not a valid identifier [bad-class-definition]
"""
6 changes: 6 additions & 0 deletions conformance/results/pyrefly/namedtuples_keywords_soft.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
conformant = "Pass"
conformance_automated = "Pass"
errors_diff = """
"""
output = """
"""
40 changes: 40 additions & 0 deletions conformance/results/pyright/namedtuples_keywords_hard.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
conformant = "Pass"
conformance_automated = "Pass"
errors_diff = """
"""
output = """
namedtuples_keywords_hard.py:7:52 - error: Field names cannot be a keyword (reportGeneralTypeIssues)
namedtuples_keywords_hard.py:7:61 - error: Field names cannot be a keyword (reportGeneralTypeIssues)
namedtuples_keywords_hard.py:7:69 - error: Field names cannot be a keyword (reportGeneralTypeIssues)
namedtuples_keywords_hard.py:7:84 - error: Field names cannot be a keyword (reportGeneralTypeIssues)
namedtuples_keywords_hard.py:7:90 - error: Field names cannot be a keyword (reportGeneralTypeIssues)
namedtuples_keywords_hard.py:7:100 - error: Field names cannot be a keyword (reportGeneralTypeIssues)
namedtuples_keywords_hard.py:7:109 - error: Field names cannot be a keyword (reportGeneralTypeIssues)
namedtuples_keywords_hard.py:7:118 - error: Field names cannot be a keyword (reportGeneralTypeIssues)
namedtuples_keywords_hard.py:7:127 - error: Field names cannot be a keyword (reportGeneralTypeIssues)
namedtuples_keywords_hard.py:7:136 - error: Field names cannot be a keyword (reportGeneralTypeIssues)
namedtuples_keywords_hard.py:7:148 - error: Field names cannot be a keyword (reportGeneralTypeIssues)
namedtuples_keywords_hard.py:7:155 - error: Field names cannot be a keyword (reportGeneralTypeIssues)
namedtuples_keywords_hard.py:7:162 - error: Field names cannot be a keyword (reportGeneralTypeIssues)
namedtuples_keywords_hard.py:7:170 - error: Field names cannot be a keyword (reportGeneralTypeIssues)
namedtuples_keywords_hard.py:7:178 - error: Field names cannot be a keyword (reportGeneralTypeIssues)
namedtuples_keywords_hard.py:7:188 - error: Field names cannot be a keyword (reportGeneralTypeIssues)
namedtuples_keywords_hard.py:7:199 - error: Field names cannot be a keyword (reportGeneralTypeIssues)
namedtuples_keywords_hard.py:7:206 - error: Field names cannot be a keyword (reportGeneralTypeIssues)
namedtuples_keywords_hard.py:7:214 - error: Field names cannot be a keyword (reportGeneralTypeIssues)
namedtuples_keywords_hard.py:7:224 - error: Field names cannot be a keyword (reportGeneralTypeIssues)
namedtuples_keywords_hard.py:7:230 - error: Field names cannot be a keyword (reportGeneralTypeIssues)
namedtuples_keywords_hard.py:7:240 - error: Field names cannot be a keyword (reportGeneralTypeIssues)
namedtuples_keywords_hard.py:7:246 - error: Field names cannot be a keyword (reportGeneralTypeIssues)
namedtuples_keywords_hard.py:7:252 - error: Field names cannot be a keyword (reportGeneralTypeIssues)
namedtuples_keywords_hard.py:7:262 - error: Field names cannot be a keyword (reportGeneralTypeIssues)
namedtuples_keywords_hard.py:7:274 - error: Field names cannot be a keyword (reportGeneralTypeIssues)
namedtuples_keywords_hard.py:7:281 - error: Field names cannot be a keyword (reportGeneralTypeIssues)
namedtuples_keywords_hard.py:7:287 - error: Field names cannot be a keyword (reportGeneralTypeIssues)
namedtuples_keywords_hard.py:7:295 - error: Field names cannot be a keyword (reportGeneralTypeIssues)
namedtuples_keywords_hard.py:7:304 - error: Field names cannot be a keyword (reportGeneralTypeIssues)
namedtuples_keywords_hard.py:7:314 - error: Field names cannot be a keyword (reportGeneralTypeIssues)
namedtuples_keywords_hard.py:7:321 - error: Field names cannot be a keyword (reportGeneralTypeIssues)
namedtuples_keywords_hard.py:7:330 - error: Field names cannot be a keyword (reportGeneralTypeIssues)
namedtuples_keywords_hard.py:7:338 - error: Field names cannot be a keyword (reportGeneralTypeIssues)
"""
6 changes: 6 additions & 0 deletions conformance/results/pyright/namedtuples_keywords_soft.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
conformant = "Pass"
conformance_automated = "Pass"
errors_diff = """
"""
output = """
"""
42 changes: 30 additions & 12 deletions conformance/results/results.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading