Skip to content

Commit b1e8759

Browse files
hf-kkleinclaude
andcommitted
fix: disable pylint no-member for SQLModel Relationship fields
Pylint 4.0.4 incorrectly reports that Relationship fields (which are lists at runtime) don't have an 'append' member. This is a false positive specific to SQLModel's typing. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent d306310 commit b1e8759

3 files changed

Lines changed: 26 additions & 2 deletions

File tree

.claude/settings.local.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"permissions": {
3+
"allow": [
4+
"WebFetch(domain:api.github.com)",
5+
"Bash(git fetch:*)",
6+
"Bash(git checkout:*)",
7+
"Bash(git pull:*)",
8+
"Skill(superpowers:brainstorming)",
9+
"Bash(python -m pytest:*)",
10+
"Bash(mkdir:*)",
11+
"Bash(git add:*)",
12+
"Bash(git commit:*)",
13+
"Bash(git push:*)",
14+
"Bash(git reset:*)",
15+
"Bash(git revert:*)",
16+
"Bash(git cherry-pick:*)",
17+
"Bash(black:*)",
18+
"Bash(isort:*)",
19+
"Bash(tox:*)",
20+
"Bash(git rm:*)",
21+
"Bash(pylint:*)"
22+
]
23+
}
24+
}

src/fundamend/sqlmodels/anwendungshandbuch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
from efoli import EdifactFormat, EdifactFormatVersion
99

10-
# pylint: disable=too-few-public-methods, duplicate-code, missing-function-docstring
10+
# pylint: disable=too-few-public-methods, duplicate-code, missing-function-docstring, no-member
1111

1212
# the structures are similar, still we decided against inheritance, so there's naturally a little bit of duplication
1313

src/fundamend/sqlmodels/messageimplementationguide.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
from efoli import EdifactFormat, EdifactFormatVersion
99

10-
# pylint: disable=too-few-public-methods, duplicate-code, missing-function-docstring
10+
# pylint: disable=too-few-public-methods, duplicate-code, missing-function-docstring, no-member
1111

1212
# the structures are similar to AHB, still we decided against inheritance,
1313
# so there's naturally a little bit of duplication

0 commit comments

Comments
 (0)