Skip to content
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

Adopt black formatting style #2349

Merged
merged 46 commits into from
Jan 4, 2024
Merged
Changes from 1 commit
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
55ac25f
fix style
giampaolo Jan 3, 2024
88e067b
add black
giampaolo Jan 3, 2024
aa3d2aa
add fmt exclusion
giampaolo Jan 3, 2024
4f274a9
add fmt exclusion
giampaolo Jan 3, 2024
dde3872
add fmt exclusion
giampaolo Jan 3, 2024
26bd8a9
add fmt exclusion
giampaolo Jan 3, 2024
84fe71c
add fmt exclusion
giampaolo Jan 3, 2024
5c281ed
add fmt exclusion
giampaolo Jan 3, 2024
63e579f
add more ruff rules
giampaolo Jan 4, 2024
176c037
fix py 2.7 compat
giampaolo Jan 4, 2024
68f6978
update branch
giampaolo Jan 4, 2024
252b0cb
add fmt exception
giampaolo Jan 4, 2024
db0bcbe
add fmt exception
giampaolo Jan 4, 2024
dd2189d
add fmt exception
giampaolo Jan 4, 2024
1a9843e
port psutil/__init__.py
giampaolo Jan 4, 2024
0b5cb03
add fmt exception
giampaolo Jan 4, 2024
74de546
add fmt exception
giampaolo Jan 4, 2024
63eb273
port psutil/_pslinux.py
giampaolo Jan 4, 2024
cd16e23
port psutil/_psbsd.py
giampaolo Jan 4, 2024
b0281d4
add fmt exception
giampaolo Jan 4, 2024
a9bbe85
port psutil/_pswindows.py
giampaolo Jan 4, 2024
120892f
port psutil/_psosx.py
giampaolo Jan 4, 2024
d09b7c9
port psutil/_psaix.py
giampaolo Jan 4, 2024
8917008
port psutil/_pssunos.py
giampaolo Jan 4, 2024
b54f10b
port psutil/_psposix.py
giampaolo Jan 4, 2024
1696ee9
progress
giampaolo Jan 4, 2024
5c4fc59
add fmt exception
giampaolo Jan 4, 2024
8c5cd93
port psutil/_common.py
giampaolo Jan 4, 2024
e9f7c52
port psutil/_compat.py
giampaolo Jan 4, 2024
a8b2212
progress
giampaolo Jan 4, 2024
e89b973
port all scripts/
giampaolo Jan 4, 2024
bb9080a
port psutil/tests/__init__.py
giampaolo Jan 4, 2024
78fa793
merge from master
giampaolo Jan 4, 2024
7daaad0
port psutil/tests/test_process.py
giampaolo Jan 4, 2024
81a0bd6
port psutil/tests/test_system.py
giampaolo Jan 4, 2024
5689b81
port all tests
giampaolo Jan 4, 2024
584b7dd
last port
giampaolo Jan 4, 2024
426bdd2
update Makefile
giampaolo Jan 4, 2024
0fef4a9
update deps
giampaolo Jan 4, 2024
ae67214
fix py 2.7 compat
giampaolo Jan 4, 2024
55d3c4a
fix TypeError
giampaolo Jan 4, 2024
81f5884
make lint happy
giampaolo Jan 4, 2024
24402e9
update HISTORY
giampaolo Jan 4, 2024
a505691
satisfy deps
giampaolo Jan 4, 2024
63c3f8b
run black from git pre-commit script
giampaolo Jan 4, 2024
be38045
fix syntax err on win
giampaolo Jan 4, 2024
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
Prev Previous commit
Next Next commit
add fmt exclusion
giampaolo committed Jan 3, 2024
commit aa3d2aa91d938ba5e3907434872a711de117d834
3 changes: 2 additions & 1 deletion .github/workflows/issues.py
Original file line number Diff line number Diff line change
@@ -27,7 +27,7 @@

# --- constants


# fmt: off
LABELS_MAP = {
# platforms
"linux": [
@@ -93,6 +93,7 @@
"segfault", "segmentation fault",
],
}
# fmt: on

LABELS_MAP['scripts'].extend(
[x for x in os.listdir(SCRIPTS_DIR) if x.endswith('.py')])