Skip to content

Commit ac52a79

Browse files
cclaussaaronliu0130
authored andcommitted
Non-Python files
1 parent 94f5e44 commit ac52a79

File tree

3 files changed

+17
-14
lines changed

3 files changed

+17
-14
lines changed

.flake8

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ ignore =
88
E302,E305,
99
# closing bracket does not match indentation of opening bracket's line
1010
E123,
11+
# whitespace before ':'
12+
E203,
1113
# multiple spaces before operator
1214
E221,
1315
# line break before binary operator
@@ -36,4 +38,4 @@ ignore =
3638
E226,
3739
# test for membership should be 'not in'
3840
E713,
39-
max-line-length=120
41+
max-line-length=100

.pre-commit-config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ repos:
1818
rev: v0.9.10
1919
hooks:
2020
- id: ruff
21+
- id: ruff-format
2122

2223
- repo: https://github.com/pycqa/flake8
2324
rev: 7.1.2

pyproject.toml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ dynamic.version = { attr = "cpplint.__VERSION__" }
6060
[tool.ruff]
6161
target-version = "py38"
6262

63-
line-length = 116
63+
line-length = 100
6464
lint.select = [
6565
"A", # flake8-builtins
6666
"AIR", # Airflow
@@ -155,23 +155,23 @@ class-rgx = "[A-Z_][a-zA-Z0-9]+$"
155155

156156
[tool.pylint.messages-control]
157157
disable = [
158+
"anomalous-unicode-escape-in-string",
159+
"bad-continuation",
160+
"bad-option-value",
161+
"consider-merging-isinstance",
162+
"consider-using-dict-comprehension",
163+
"consider-using-in",
164+
"consider-using-min-builtin",
165+
"fixme",
158166
"global-statement",
159-
"multiple-statements",
160167
"missing-docstring",
168+
"multiple-statements",
161169
"no-else-return",
162170
"no-self-use",
163-
"consider-merging-isinstance",
164-
"consider-using-min-builtin",
165-
"bad-continuation",
166-
"fixme",
167-
"bad-option-value",
168-
"anomalous-unicode-escape-in-string",
171+
"too-many-positional-arguments",
172+
"unnecessary-pass",
169173
"unused-argument",
170174
"useless-object-inheritance",
171-
"consider-using-dict-comprehension",
172-
"consider-using-in",
173-
"unnecessary-pass",
174-
"too-many-positional-arguments",
175175
]
176176

177177
[tool.pylint.reports]
@@ -180,7 +180,7 @@ reports = false
180180
score = false
181181

182182
[tool.pylint.format]
183-
indent-string = ' '
183+
indent-string = ' '
184184
indent-after-paren = 4
185185
max-module-lines = 10000
186186

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy