You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
contrib: Use text=True in subprocess over manual encoding handling
All touched Python scripts already assume and require UTF8, so manually
specifying encoding or decoding for functions in the subprocess module
is redundant to just using text=True, which exists since Python 3.7
Copy file name to clipboardExpand all lines: test/functional/tool_signet_miner.py
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
#!/usr/bin/env python3
2
-
# Copyright (c) 2022 The Bitcoin Core developers
2
+
# Copyright (c) 2022-present The Bitcoin Core developers
3
3
# Distributed under the MIT software license, see the accompanying
4
4
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
Copy file name to clipboardExpand all lines: test/lint/check-doc.py
+5-7Lines changed: 5 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -1,13 +1,11 @@
1
1
#!/usr/bin/env python3
2
-
# Copyright (c) 2015-2022 The Bitcoin Core developers
2
+
# Copyright (c) 2015-present The Bitcoin Core developers
3
3
# Distributed under the MIT software license, see the accompanying
4
4
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
5
5
6
6
'''
7
7
This checks if all command line args are documented.
Copy file name to clipboardExpand all lines: test/lint/lint-python-dead-code.py
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
#!/usr/bin/env python3
2
2
#
3
-
# Copyright (c) 2022 The Bitcoin Core developers
3
+
# Copyright (c) 2022-present The Bitcoin Core developers
4
4
# Distributed under the MIT software license, see the accompanying
5
5
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
Copy file name to clipboardExpand all lines: test/lint/lint-python.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
#!/usr/bin/env python3
2
2
#
3
-
# Copyright (c) 2022 The Bitcoin Core developers
3
+
# Copyright (c) 2022-present The Bitcoin Core developers
4
4
# Distributed under the MIT software license, see the accompanying
5
5
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
0 commit comments