Skip to content

Commit 5c65216

Browse files
committed
Survival.
1 parent e01ffeb commit 5c65216

4 files changed

Lines changed: 19 additions & 10 deletions

File tree

.github/FUNDING.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11
# These are supported funding model platforms
22

3-
# github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
3+
github: hunterhogan
44
patreon: integrated
55
open_collective: # Replace with a single Open Collective username
6-
ko_fi: # Replace with a single Ko-fi username
6+
ko_fi: hunterhogan
77
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
8-
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
9-
liberapay: # Replace with a single Liberapay username
8+
liberapay: HunterHogan
109
issuehunt: # Replace with a single IssueHunt username
1110
lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry
1211
# polar: # Replace with a single Polar username
13-
buy_me_a_coffee: # Replace with a single Buy Me a Coffee username
14-
thanks_dev: # Replace with a single thanks.dev username
12+
buy_me_a_coffee: hunterhogan
13+
thanks_dev: u/gh/hunterhogan
1514
custom: ['https://www.paypal.me/hunterhogan', 'https://hunterthinks.com/support'] # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']

.vscode/identifiers.code-snippets

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,13 @@
2727
],
2828
"description": "Anything (个, gè)"
2929
},
30+
"火": {
31+
"prefix": "huo",
32+
"body": [
33+
""
34+
],
35+
"description": "Fire (火, Chinese: huǒ, Cantonese: fo2, Japanese: hi, Korean: hwa, Vietnamese: hỏa)"
36+
},
3037
"九": {
3138
"prefix": "jiu",
3239
"body": [

astToolkit/_toolIfThis.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ def isAssignAndTargets0Is(targets0Predicate: Callable[[ast.AST], bool]) -> Calla
9393
Predicate returning `True` if the node is an `ast.Assign` and its first target matches `targets0Predicate`.
9494
"""
9595
def workhorse(node: ast.AST) -> TypeIs[ast.Assign]:
96-
return Be.Assign(node) and targets0Predicate(node.targets[0])
96+
return Be.Assign(node) and targets0Predicate(node.targets[0]) # ty:ignore[unresolved-attribute]
9797
return workhorse
9898

9999
@staticmethod
@@ -432,8 +432,8 @@ def isUnaryNotAttributeNamespaceIdentifier(namespace: str, identifier: str) -> C
432432
"""
433433
def workhorse(node: ast.AST) -> TypeIs[ast.UnaryOp]:
434434
return (Be.UnaryOp(node)
435-
and Be.Not(node.op)
436-
and IfThis.isAttributeNamespaceIdentifier(namespace, identifier)(node.operand))
435+
and Be.Not(node.op) # ty:ignore[unresolved-attribute]
436+
and IfThis.isAttributeNamespaceIdentifier(namespace, identifier)(node.operand)) # ty:ignore[unresolved-attribute]
437437
return workhorse
438438

439439
@staticmethod

ruff.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,14 @@ ignore = [
55
"ANN401",
66
"C901",
77
"COM812",
8+
"D204",
89
"D206",
910
"D400",
1011
"D401",
11-
"F401",
1212
"E501",
13+
"F401",
1314
"FIX",
15+
"FLY002",
1416
"I001",
1517
"N",
1618
"PGH004",
@@ -25,6 +27,7 @@ ignore = [
2527
"PLR2004",
2628
"PLW0120",
2729
"PLW2901",
30+
"PYI011",
2831
"PYI021",
2932
"PYI041",
3033
"PYI042",

0 commit comments

Comments
 (0)