-
Notifications
You must be signed in to change notification settings - Fork 67
style(black): format acquisition with black
, line-length=100
#1189
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
60cdbb1
ci(black): set line-length 100
dshemetov 980b0b7
style(black): format cdc acquisition
dshemetov 9e6ff16
style(black): format covidcast_nowcast acquisition
dshemetov d1141d9
style(black): format ecdc acquisition
dshemetov 08af0f6
style(black): format flusurv acquisition
dshemetov 0133ef2
style(black): format fluview acquisition
dshemetov b8900a0
style(black): format ght acquisition
dshemetov a849384
style(black): format kcdc acquisition
dshemetov d04af3c
style(black): format nidss acquisition
dshemetov 7f60fbb
style(black): format paho acquisition
dshemetov b9ceb40
style(black): format quidel acquisition
dshemetov 07ed83e
style(black): format twitter acquisition
dshemetov 923852e
style(black): format wiki acquisition
dshemetov c827e54
ci(sonar): tempfiles for security warnings
dshemetov 76ddfbf
style: add .editorconfig
dshemetov 145dd42
style(pylint): add pylint config
dshemetov 1e7319e
Update src/acquisition/cdcp/cdc_extract.py
dshemetov b00f11b
style(black): add fmt off tags around parser.add_argument calls
dshemetov dd1b089
style: update .editorconfig
dshemetov 7a27a3a
style(flynt): convert .format and % strings to f-strings
dshemetov 8459cc2
gh: add .git-blame-ignore-revs
dshemetov f93f020
style(acquisition): minor formatting fixes
dshemetov File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# EditorConfig helps developers define and maintain consistent | ||
# coding styles between different editors and IDEs | ||
# editorconfig.org | ||
|
||
root = true | ||
|
||
[*] | ||
# We recommend you to keep these unchanged | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
|
||
|
||
[*.py] | ||
# Change these settings to your own preference | ||
indent_style = space | ||
indent_size = 4 | ||
|
||
|
||
[*.md] | ||
trim_trailing_whitespace = false |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# style(black): format cdc acquisition | ||
980b0b7e80c7923b79e14fee620645e680785703 | ||
# style(black): format covidcast_nowcast acquisition | ||
9e6ff16f599e8feec34a08dd1bddbc5eae347b55 | ||
# style(black): format ecdc acquisition | ||
d1141d904da4e62992b97c92d5caebd8fadffd42 | ||
# style(black): format flusurv acquisition | ||
08af0f6b7bff85bbc2b193b63b5abf6a16ba03e4 | ||
# style(black): format fluview acquisition | ||
0133ef2042c4df8867e91595eb1f64873edb4632 | ||
# style(black): format ght acquisition | ||
b8900a0bc846888885310911efd6e26459effa99 | ||
# style(black): format kcdc acquisition | ||
a849384c884934b3b7c3c67b68aa6240277d6b6d | ||
# style(black): format nidss acquisition | ||
d04af3c02fda7708a16bec0952b1aa7475acaec7 | ||
# style(black): format paho acquisition | ||
7f60fbba572c1b6e5153a9ef216895bdc2f7f5b3 | ||
# style(black): format quidel acquisition | ||
b9ceb400d9248c8271e8342275664ac5524e335d | ||
# style(black): format twitter acquisition | ||
07ed83e5768f717ab0f9a62a9209e4e2cffa058d | ||
# style(black): format wiki acquisition | ||
923852eafa86b8f8b182d499489249ba8f815843 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,26 @@ | ||
|
||
[tool.black] | ||
line-length = 200 | ||
line-length = 100 | ||
target-version = ['py38'] | ||
include = 'server,tests/server' | ||
|
||
[tool.pylint] | ||
[tool.pylint.'MESSAGES CONTROL'] | ||
max-line-length = 100 | ||
disable = [ | ||
'logging-format-interpolation', | ||
# Allow pytest functions to be part of a class | ||
'no-self-use', | ||
'too-many-locals', | ||
'too-many-arguments', | ||
# Allow pytest classes to have one test | ||
'too-few-public-methods', | ||
] | ||
|
||
[tool.pylint.'BASIC'] | ||
# Allow arbitrarily short-named variables. | ||
variable-rgx = ['[a-z_][a-z0-9_]*'] | ||
argument-rgx = [ '[a-z_][a-z0-9_]*' ] | ||
attr-rgx = ['[a-z_][a-z0-9_]*'] | ||
|
||
[tool.pylint.'DESIGN'] | ||
ignored-argument-names = ['(_.*|run_as_module)'] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is when I wish github let you provide manual alignment markers to make diffs make sense
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if you do "hide whitespace" up in the gear above, it makes these diffs way more readable