libusb1 3.3.0__tar.gz → 3.4.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {libusb1-3.3.0/libusb1.egg-info → libusb1-3.4.0}/PKG-INFO +19 -4
- {libusb1-3.3.0 → libusb1-3.4.0}/README.rst +14 -0
- {libusb1-3.3.0 → libusb1-3.4.0/libusb1.egg-info}/PKG-INFO +19 -4
- {libusb1-3.3.0 → libusb1-3.4.0}/libusb1.egg-info/SOURCES.txt +0 -6
- {libusb1-3.3.0 → libusb1-3.4.0}/setup.cfg +1 -2
- {libusb1-3.3.0 → libusb1-3.4.0}/setup.py +3 -3
- {libusb1-3.3.0 → libusb1-3.4.0}/usb1/__init__.py +1 -1
- {libusb1-3.3.0 → libusb1-3.4.0}/usb1/_libusb1.py +23 -1
- {libusb1-3.3.0 → libusb1-3.4.0}/usb1/_version.py +3 -3
- libusb1-3.3.0/.gitattributes +0 -1
- libusb1-3.3.0/.gitignore +0 -6
- libusb1-3.3.0/.pylintrc +0 -636
- libusb1-3.3.0/KEYS +0 -160
- libusb1-3.3.0/runTestLibusb.sh +0 -78
- libusb1-3.3.0/setup.sh +0 -33
- {libusb1-3.3.0 → libusb1-3.4.0}/COPYING +0 -0
- {libusb1-3.3.0 → libusb1-3.4.0}/COPYING.LESSER +0 -0
- {libusb1-3.3.0 → libusb1-3.4.0}/MANIFEST.in +0 -0
- {libusb1-3.3.0 → libusb1-3.4.0}/examples/README +0 -0
- {libusb1-3.3.0 → libusb1-3.4.0}/examples/hotplug.py +0 -0
- {libusb1-3.3.0 → libusb1-3.4.0}/examples/hotplug_advanced.py +0 -0
- {libusb1-3.3.0 → libusb1-3.4.0}/examples/listdevs.py +0 -0
- {libusb1-3.3.0 → libusb1-3.4.0}/examples/scan_device_tree.py +0 -0
- {libusb1-3.3.0 → libusb1-3.4.0}/libusb1.egg-info/dependency_links.txt +0 -0
- {libusb1-3.3.0 → libusb1-3.4.0}/libusb1.egg-info/entry_points.txt +0 -0
- {libusb1-3.3.0 → libusb1-3.4.0}/libusb1.egg-info/top_level.txt +0 -0
- {libusb1-3.3.0 → libusb1-3.4.0}/libusb1.py +0 -0
- {libusb1-3.3.0 → libusb1-3.4.0}/stdeb.cfg +0 -0
- {libusb1-3.3.0 → libusb1-3.4.0}/usb1/__pyinstaller/__init__.py +0 -0
- {libusb1-3.3.0 → libusb1-3.4.0}/usb1/__pyinstaller/hook-usb1.py +0 -0
- {libusb1-3.3.0 → libusb1-3.4.0}/usb1/__pyinstaller/test_libusb1_packaging.py +0 -0
- {libusb1-3.3.0 → libusb1-3.4.0}/usb1/libusb1.py +0 -0
- {libusb1-3.3.0 → libusb1-3.4.0}/usb1/testUSB1.py +0 -0
- {libusb1-3.3.0 → libusb1-3.4.0}/versioneer.py +0 -0
|
@@ -1,15 +1,14 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: libusb1
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.4.0
|
|
4
4
|
Summary: Pure-python wrapper for libusb-1.0
|
|
5
5
|
Home-page: https://github.com/vpelletier/python-libusb1
|
|
6
6
|
Author: Vincent Pelletier
|
|
7
7
|
Author-email: plr.vincent@gmail.com
|
|
8
|
-
License:
|
|
8
|
+
License-Expression: LGPL-2.1-or-later
|
|
9
9
|
Keywords: usb,libusb
|
|
10
10
|
Platform: any
|
|
11
11
|
Classifier: Intended Audience :: Developers
|
|
12
|
-
Classifier: License :: OSI Approved :: GNU Lesser General Public License v2 or later (LGPLv2+)
|
|
13
12
|
Classifier: Operating System :: OS Independent
|
|
14
13
|
Classifier: Programming Language :: Python :: 3
|
|
15
14
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
@@ -19,6 +18,8 @@ Classifier: Topic :: System :: Hardware :: Hardware Drivers
|
|
|
19
18
|
Description-Content-Type: text/x-rst
|
|
20
19
|
License-File: COPYING
|
|
21
20
|
License-File: COPYING.LESSER
|
|
21
|
+
Dynamic: license-file
|
|
22
|
+
Dynamic: license-expression
|
|
22
23
|
|
|
23
24
|
.. contents::
|
|
24
25
|
|
|
@@ -611,6 +612,20 @@ Fix finalizer registration errors on pypi by using a thread-safe sequential numb
|
|
|
611
612
|
|
|
612
613
|
Check in-dll version when creating Windows wheels. Should hopefully version mixups like what happened in 3.1.0 .
|
|
613
614
|
|
|
615
|
+
3.3.1
|
|
616
|
+
-----
|
|
617
|
+
|
|
618
|
+
Fix ``AttributeError`` in ``USBContext.setPollFDNotifiers`` introduced in 3.3.0 .
|
|
619
|
+
|
|
620
|
+
3.4.0
|
|
621
|
+
-----
|
|
622
|
+
|
|
623
|
+
Resolve a python 3.14 deprecation warning about packed ctypes structs.
|
|
624
|
+
|
|
625
|
+
Bundle libusb1 dll 1.0.29 in Windows wheels.
|
|
626
|
+
|
|
627
|
+
Fix a licence inconsistency: the old pypi classifier was refering to the LGPL2+ instead of the LGPL2.1+ .
|
|
628
|
+
|
|
614
629
|
.. _CPython: http://www.python.org/
|
|
615
630
|
|
|
616
631
|
.. _pypy: http://pypy.org/
|
|
@@ -589,6 +589,20 @@ Fix finalizer registration errors on pypi by using a thread-safe sequential numb
|
|
|
589
589
|
|
|
590
590
|
Check in-dll version when creating Windows wheels. Should hopefully version mixups like what happened in 3.1.0 .
|
|
591
591
|
|
|
592
|
+
3.3.1
|
|
593
|
+
-----
|
|
594
|
+
|
|
595
|
+
Fix ``AttributeError`` in ``USBContext.setPollFDNotifiers`` introduced in 3.3.0 .
|
|
596
|
+
|
|
597
|
+
3.4.0
|
|
598
|
+
-----
|
|
599
|
+
|
|
600
|
+
Resolve a python 3.14 deprecation warning about packed ctypes structs.
|
|
601
|
+
|
|
602
|
+
Bundle libusb1 dll 1.0.29 in Windows wheels.
|
|
603
|
+
|
|
604
|
+
Fix a licence inconsistency: the old pypi classifier was refering to the LGPL2+ instead of the LGPL2.1+ .
|
|
605
|
+
|
|
592
606
|
.. _CPython: http://www.python.org/
|
|
593
607
|
|
|
594
608
|
.. _pypy: http://pypy.org/
|
|
@@ -1,15 +1,14 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: libusb1
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.4.0
|
|
4
4
|
Summary: Pure-python wrapper for libusb-1.0
|
|
5
5
|
Home-page: https://github.com/vpelletier/python-libusb1
|
|
6
6
|
Author: Vincent Pelletier
|
|
7
7
|
Author-email: plr.vincent@gmail.com
|
|
8
|
-
License:
|
|
8
|
+
License-Expression: LGPL-2.1-or-later
|
|
9
9
|
Keywords: usb,libusb
|
|
10
10
|
Platform: any
|
|
11
11
|
Classifier: Intended Audience :: Developers
|
|
12
|
-
Classifier: License :: OSI Approved :: GNU Lesser General Public License v2 or later (LGPLv2+)
|
|
13
12
|
Classifier: Operating System :: OS Independent
|
|
14
13
|
Classifier: Programming Language :: Python :: 3
|
|
15
14
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
@@ -19,6 +18,8 @@ Classifier: Topic :: System :: Hardware :: Hardware Drivers
|
|
|
19
18
|
Description-Content-Type: text/x-rst
|
|
20
19
|
License-File: COPYING
|
|
21
20
|
License-File: COPYING.LESSER
|
|
21
|
+
Dynamic: license-file
|
|
22
|
+
Dynamic: license-expression
|
|
22
23
|
|
|
23
24
|
.. contents::
|
|
24
25
|
|
|
@@ -611,6 +612,20 @@ Fix finalizer registration errors on pypi by using a thread-safe sequential numb
|
|
|
611
612
|
|
|
612
613
|
Check in-dll version when creating Windows wheels. Should hopefully version mixups like what happened in 3.1.0 .
|
|
613
614
|
|
|
615
|
+
3.3.1
|
|
616
|
+
-----
|
|
617
|
+
|
|
618
|
+
Fix ``AttributeError`` in ``USBContext.setPollFDNotifiers`` introduced in 3.3.0 .
|
|
619
|
+
|
|
620
|
+
3.4.0
|
|
621
|
+
-----
|
|
622
|
+
|
|
623
|
+
Resolve a python 3.14 deprecation warning about packed ctypes structs.
|
|
624
|
+
|
|
625
|
+
Bundle libusb1 dll 1.0.29 in Windows wheels.
|
|
626
|
+
|
|
627
|
+
Fix a licence inconsistency: the old pypi classifier was refering to the LGPL2+ instead of the LGPL2.1+ .
|
|
628
|
+
|
|
614
629
|
.. _CPython: http://www.python.org/
|
|
615
630
|
|
|
616
631
|
.. _pypy: http://pypy.org/
|
|
@@ -5,14 +5,13 @@ author = Vincent Pelletier
|
|
|
5
5
|
author_email = plr.vincent@gmail.com
|
|
6
6
|
classifiers =
|
|
7
7
|
Intended Audience :: Developers
|
|
8
|
-
License :: OSI Approved :: GNU Lesser General Public License v2 or later (LGPLv2+)
|
|
9
8
|
Operating System :: OS Independent
|
|
10
9
|
Programming Language :: Python :: 3
|
|
11
10
|
Programming Language :: Python :: Implementation :: CPython
|
|
12
11
|
Programming Language :: Python :: Implementation :: PyPy
|
|
13
12
|
Topic :: Software Development :: Libraries
|
|
14
13
|
Topic :: System :: Hardware :: Hardware Drivers
|
|
15
|
-
|
|
14
|
+
license_expression = LGPL-2.1-or-later
|
|
16
15
|
description = Pure-python wrapper for libusb-1.0
|
|
17
16
|
long_description = file: README.rst
|
|
18
17
|
long_description_content_type = text/x-rst
|
|
@@ -34,9 +34,9 @@ if os.getenv('I_KNOW_HOW_TO_RELEASE_PYTHON_LIBUSB1') != '1' and any(
|
|
|
34
34
|
sys.exit(1)
|
|
35
35
|
|
|
36
36
|
CURRENT_WINDOWS_7Z_SHA256 = (
|
|
37
|
-
'
|
|
37
|
+
'964a38152ca9a104cd00ec8d2f0617b89cd814f9b635e29763c68563d951521d'
|
|
38
38
|
)
|
|
39
|
-
CURRENT_DLL_VERSION = '1.0.
|
|
39
|
+
CURRENT_DLL_VERSION = '1.0.29.11953'
|
|
40
40
|
|
|
41
41
|
cmdclass = versioneer.get_cmdclass()
|
|
42
42
|
class upload(Command):
|
|
@@ -123,7 +123,7 @@ class update_libusb(Command):
|
|
|
123
123
|
archive_sha256 = hashlib.sha256(archive_file.read()).hexdigest()
|
|
124
124
|
if archive_sha256 != CURRENT_WINDOWS_7Z_SHA256:
|
|
125
125
|
raise ValueError(
|
|
126
|
-
'Windows release
|
|
126
|
+
'Windows release sha256 mismatch: %r fetched with a sha256 of %r' % (
|
|
127
127
|
url,
|
|
128
128
|
archive_sha256,
|
|
129
129
|
)
|
|
@@ -2603,7 +2603,7 @@ class USBContext(_LibUSB1Finalizer):
|
|
|
2603
2603
|
# race-condition) it is not a big deal, as __finalizePollFDNotifiers
|
|
2604
2604
|
# will do the right thing even if called multiple times in a row.
|
|
2605
2605
|
self.__has_pollfd_finalizer = True
|
|
2606
|
-
self.
|
|
2606
|
+
self._getFinalizer(
|
|
2607
2607
|
self,
|
|
2608
2608
|
self.__finalizePollFDNotifiers, # Note: staticmethod
|
|
2609
2609
|
context_p=self.__context_p,
|
|
@@ -108,6 +108,7 @@ def newStruct(field_name_list):
|
|
|
108
108
|
# will have no effect.
|
|
109
109
|
# pylint: disable=protected-access
|
|
110
110
|
result._pack_ = 1
|
|
111
|
+
result._layout_ = 'ms'
|
|
111
112
|
result._fields_ = field_list
|
|
112
113
|
# pylint: enable=protected-access
|
|
113
114
|
return result
|
|
@@ -841,6 +842,24 @@ LIBUSB_DT_INTERFACE_SIZE = 9
|
|
|
841
842
|
LIBUSB_DT_ENDPOINT_SIZE = 7
|
|
842
843
|
LIBUSB_DT_ENDPOINT_AUDIO_SIZE = 9 # Audio extension
|
|
843
844
|
LIBUSB_DT_HUB_NONVAR_SIZE = 7
|
|
845
|
+
LIBUSB_DT_SS_ENDPOINT_COMPANION_SIZE = 6
|
|
846
|
+
LIBUSB_DT_BOS_SIZE = 5
|
|
847
|
+
LIBUSB_DT_DEVICE_CAPABILITY_SIZE = 3
|
|
848
|
+
LIBUSB_DT_INTERFACE_ASSOCIATION_SIZE = 8
|
|
849
|
+
|
|
850
|
+
# BOS descriptor sizes
|
|
851
|
+
LIBUSB_BT_USB_2_0_EXTENSION_SIZE = 7
|
|
852
|
+
LIBUSB_BT_SS_USB_DEVICE_CAPABILITY_SIZE = 10
|
|
853
|
+
LIBUSB_BT_SSPLUS_USB_DEVICE_CAPABILITY_SIZE = 12
|
|
854
|
+
LIBUSB_BT_CONTAINER_ID_SIZE = 20
|
|
855
|
+
LIBUSB_BT_PLATFORM_DESCRIPTOR_MIN_SIZE = 20
|
|
856
|
+
|
|
857
|
+
LIBUSB_DT_BOS_MAX_SIZE = (
|
|
858
|
+
LIBUSB_DT_BOS_SIZE +
|
|
859
|
+
LIBUSB_BT_USB_2_0_EXTENSION_SIZE +
|
|
860
|
+
LIBUSB_BT_SS_USB_DEVICE_CAPABILITY_SIZE +
|
|
861
|
+
LIBUSB_BT_CONTAINER_ID_SIZE
|
|
862
|
+
)
|
|
844
863
|
|
|
845
864
|
LIBUSB_ENDPOINT_ADDRESS_MASK = 0x0f # in bEndpointAddress
|
|
846
865
|
LIBUSB_ENDPOINT_DIR_MASK = 0x80
|
|
@@ -1052,6 +1071,7 @@ libusb_config_descriptor_p_p = POINTER(libusb_config_descriptor_p)
|
|
|
1052
1071
|
|
|
1053
1072
|
class libusb_control_setup(Structure):
|
|
1054
1073
|
_pack_ = 1
|
|
1074
|
+
_layout_ = 'ms'
|
|
1055
1075
|
_fields_ = [
|
|
1056
1076
|
('bmRequestType', c_uint8),
|
|
1057
1077
|
('bRequest', c_uint8),
|
|
@@ -1151,8 +1171,10 @@ libusb_speed = Enum({
|
|
|
1151
1171
|
'LIBUSB_SPEED_HIGH': 3,
|
|
1152
1172
|
# The device is operating at super speed (5000MBit/s).
|
|
1153
1173
|
'LIBUSB_SPEED_SUPER': 4,
|
|
1154
|
-
# The device is operating at super speed plus (10000MBit/s)
|
|
1174
|
+
# The device is operating at super speed plus (10000MBit/s).
|
|
1155
1175
|
'LIBUSB_SPEED_SUPER_PLUS': 5,
|
|
1176
|
+
# The device is operating at super speed plus x2 (20000MBit/s).
|
|
1177
|
+
'LIBUSB_SPEED_SUPER_PLUS_X2': 6,
|
|
1156
1178
|
})
|
|
1157
1179
|
|
|
1158
1180
|
libusb_supported_speed = Enum({
|
|
@@ -8,11 +8,11 @@ import json
|
|
|
8
8
|
|
|
9
9
|
version_json = '''
|
|
10
10
|
{
|
|
11
|
-
"date": "
|
|
11
|
+
"date": "2026-05-16T22:56:31+0200",
|
|
12
12
|
"dirty": false,
|
|
13
13
|
"error": null,
|
|
14
|
-
"full-revisionid": "
|
|
15
|
-
"version": "3.
|
|
14
|
+
"full-revisionid": "c9d2c1810e459a6b72848984c6ba228f137be285",
|
|
15
|
+
"version": "3.4.0"
|
|
16
16
|
}
|
|
17
17
|
''' # END VERSION_JSON
|
|
18
18
|
|
libusb1-3.3.0/.gitattributes
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
usb1/_version.py export-subst
|
libusb1-3.3.0/.gitignore
DELETED
libusb1-3.3.0/.pylintrc
DELETED
|
@@ -1,636 +0,0 @@
|
|
|
1
|
-
[MAIN]
|
|
2
|
-
|
|
3
|
-
# Analyse import fallback blocks. This can be used to support both Python 2 and
|
|
4
|
-
# 3 compatible code, which means that the block might have code that exists
|
|
5
|
-
# only in one or another interpreter, leading to false positives when analysed.
|
|
6
|
-
analyse-fallback-blocks=no
|
|
7
|
-
|
|
8
|
-
# Clear in-memory caches upon conclusion of linting. Useful if running pylint
|
|
9
|
-
# in a server-like mode.
|
|
10
|
-
clear-cache-post-run=no
|
|
11
|
-
|
|
12
|
-
# Load and enable all available extensions. Use --list-extensions to see a list
|
|
13
|
-
# all available extensions.
|
|
14
|
-
#enable-all-extensions=
|
|
15
|
-
|
|
16
|
-
# In error mode, messages with a category besides ERROR or FATAL are
|
|
17
|
-
# suppressed, and no reports are done by default. Error mode is compatible with
|
|
18
|
-
# disabling specific errors.
|
|
19
|
-
#errors-only=
|
|
20
|
-
|
|
21
|
-
# Always return a 0 (non-error) status code, even if lint errors are found.
|
|
22
|
-
# This is primarily useful in continuous integration scripts.
|
|
23
|
-
#exit-zero=
|
|
24
|
-
|
|
25
|
-
# A comma-separated list of package or module names from where C extensions may
|
|
26
|
-
# be loaded. Extensions are loading into the active Python interpreter and may
|
|
27
|
-
# run arbitrary code.
|
|
28
|
-
extension-pkg-allow-list=
|
|
29
|
-
|
|
30
|
-
# A comma-separated list of package or module names from where C extensions may
|
|
31
|
-
# be loaded. Extensions are loading into the active Python interpreter and may
|
|
32
|
-
# run arbitrary code. (This is an alternative name to extension-pkg-allow-list
|
|
33
|
-
# for backward compatibility.)
|
|
34
|
-
extension-pkg-whitelist=
|
|
35
|
-
|
|
36
|
-
# Return non-zero exit code if any of these messages/categories are detected,
|
|
37
|
-
# even if score is above --fail-under value. Syntax same as enable. Messages
|
|
38
|
-
# specified are enabled, while categories only check already-enabled messages.
|
|
39
|
-
fail-on=
|
|
40
|
-
|
|
41
|
-
# Specify a score threshold under which the program will exit with error.
|
|
42
|
-
fail-under=10
|
|
43
|
-
|
|
44
|
-
# Interpret the stdin as a python script, whose filename needs to be passed as
|
|
45
|
-
# the module_or_package argument.
|
|
46
|
-
#from-stdin=
|
|
47
|
-
|
|
48
|
-
# Files or directories to be skipped. They should be base names, not paths.
|
|
49
|
-
ignore=CVS,_version.py
|
|
50
|
-
|
|
51
|
-
# Add files or directories matching the regular expressions patterns to the
|
|
52
|
-
# ignore-list. The regex matches against paths and can be in Posix or Windows
|
|
53
|
-
# format. Because '\\' represents the directory delimiter on Windows systems,
|
|
54
|
-
# it can't be used as an escape character.
|
|
55
|
-
ignore-paths=
|
|
56
|
-
|
|
57
|
-
# Files or directories matching the regular expression patterns are skipped.
|
|
58
|
-
# The regex matches against base names, not paths. The default value ignores
|
|
59
|
-
# Emacs file locks
|
|
60
|
-
ignore-patterns=^\.#
|
|
61
|
-
|
|
62
|
-
# List of module names for which member attributes should not be checked
|
|
63
|
-
# (useful for modules/projects where namespaces are manipulated during runtime
|
|
64
|
-
# and thus existing member attributes cannot be deduced by static analysis). It
|
|
65
|
-
# supports qualified module names, as well as Unix pattern matching.
|
|
66
|
-
ignored-modules=usb1._libusb1
|
|
67
|
-
|
|
68
|
-
# Python code to execute, usually for sys.path manipulation such as
|
|
69
|
-
# pygtk.require().
|
|
70
|
-
#init-hook=
|
|
71
|
-
|
|
72
|
-
# Use multiple processes to speed up Pylint. Specifying 0 will auto-detect the
|
|
73
|
-
# number of processors available to use, and will cap the count on Windows to
|
|
74
|
-
# avoid hangs.
|
|
75
|
-
jobs=1
|
|
76
|
-
|
|
77
|
-
# Control the amount of potential inferred values when inferring a single
|
|
78
|
-
# object. This can help the performance when dealing with large functions or
|
|
79
|
-
# complex, nested conditions.
|
|
80
|
-
limit-inference-results=100
|
|
81
|
-
|
|
82
|
-
# List of plugins (as comma separated values of python module names) to load,
|
|
83
|
-
# usually to register additional checkers.
|
|
84
|
-
load-plugins=
|
|
85
|
-
|
|
86
|
-
# Pickle collected data for later comparisons.
|
|
87
|
-
persistent=yes
|
|
88
|
-
|
|
89
|
-
# Minimum Python version to use for version dependent checks. Will default to
|
|
90
|
-
# the version used to run pylint.
|
|
91
|
-
py-version=3.11
|
|
92
|
-
|
|
93
|
-
# Discover python modules and packages in the file system subtree.
|
|
94
|
-
recursive=no
|
|
95
|
-
|
|
96
|
-
# Add paths to the list of the source roots. Supports globbing patterns. The
|
|
97
|
-
# source root is an absolute path or a path relative to the current working
|
|
98
|
-
# directory used to determine a package namespace for modules located under the
|
|
99
|
-
# source root.
|
|
100
|
-
source-roots=
|
|
101
|
-
|
|
102
|
-
# When enabled, pylint would attempt to guess common misconfiguration and emit
|
|
103
|
-
# user-friendly hints instead of false-positive error messages.
|
|
104
|
-
suggestion-mode=yes
|
|
105
|
-
|
|
106
|
-
# Allow loading of arbitrary C extensions. Extensions are imported into the
|
|
107
|
-
# active Python interpreter and may run arbitrary code.
|
|
108
|
-
unsafe-load-any-extension=no
|
|
109
|
-
|
|
110
|
-
# In verbose mode, extra non-checker-related info will be displayed.
|
|
111
|
-
#verbose=
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
[BASIC]
|
|
115
|
-
|
|
116
|
-
# Naming style matching correct argument names.
|
|
117
|
-
argument-naming-style=snake_case
|
|
118
|
-
|
|
119
|
-
# Regular expression matching correct argument names. Overrides argument-
|
|
120
|
-
# naming-style. If left empty, argument names will be checked with the set
|
|
121
|
-
# naming style.
|
|
122
|
-
#argument-rgx=
|
|
123
|
-
|
|
124
|
-
# Naming style matching correct attribute names.
|
|
125
|
-
attr-naming-style=snake_case
|
|
126
|
-
|
|
127
|
-
# Regular expression matching correct attribute names. Overrides attr-naming-
|
|
128
|
-
# style. If left empty, attribute names will be checked with the set naming
|
|
129
|
-
# style.
|
|
130
|
-
#attr-rgx=
|
|
131
|
-
|
|
132
|
-
# Bad variable names which should always be refused, separated by a comma.
|
|
133
|
-
bad-names=foo,
|
|
134
|
-
bar,
|
|
135
|
-
baz,
|
|
136
|
-
toto,
|
|
137
|
-
tutu,
|
|
138
|
-
tata
|
|
139
|
-
|
|
140
|
-
# Bad variable names regexes, separated by a comma. If names match any regex,
|
|
141
|
-
# they will always be refused
|
|
142
|
-
bad-names-rgxs=
|
|
143
|
-
|
|
144
|
-
# Naming style matching correct class attribute names.
|
|
145
|
-
class-attribute-naming-style=any
|
|
146
|
-
|
|
147
|
-
# Regular expression matching correct class attribute names. Overrides class-
|
|
148
|
-
# attribute-naming-style. If left empty, class attribute names will be checked
|
|
149
|
-
# with the set naming style.
|
|
150
|
-
#class-attribute-rgx=
|
|
151
|
-
|
|
152
|
-
# Naming style matching correct class constant names.
|
|
153
|
-
class-const-naming-style=UPPER_CASE
|
|
154
|
-
|
|
155
|
-
# Regular expression matching correct class constant names. Overrides class-
|
|
156
|
-
# const-naming-style. If left empty, class constant names will be checked with
|
|
157
|
-
# the set naming style.
|
|
158
|
-
#class-const-rgx=
|
|
159
|
-
|
|
160
|
-
# Naming style matching correct class names.
|
|
161
|
-
class-naming-style=PascalCase
|
|
162
|
-
|
|
163
|
-
# Regular expression matching correct class names. Overrides class-naming-
|
|
164
|
-
# style. If left empty, class names will be checked with the set naming style.
|
|
165
|
-
#class-rgx=
|
|
166
|
-
|
|
167
|
-
# Naming style matching correct constant names.
|
|
168
|
-
const-naming-style=UPPER_CASE
|
|
169
|
-
|
|
170
|
-
# Regular expression matching correct constant names. Overrides const-naming-
|
|
171
|
-
# style. If left empty, constant names will be checked with the set naming
|
|
172
|
-
# style.
|
|
173
|
-
#const-rgx=
|
|
174
|
-
|
|
175
|
-
# Minimum line length for functions/classes that require docstrings, shorter
|
|
176
|
-
# ones are exempt.
|
|
177
|
-
docstring-min-length=-1
|
|
178
|
-
|
|
179
|
-
# Naming style matching correct function names.
|
|
180
|
-
function-naming-style=snake_case
|
|
181
|
-
|
|
182
|
-
# Regular expression matching correct function names. Overrides function-
|
|
183
|
-
# naming-style. If left empty, function names will be checked with the set
|
|
184
|
-
# naming style.
|
|
185
|
-
#function-rgx=
|
|
186
|
-
|
|
187
|
-
# Good variable names which should always be accepted, separated by a comma.
|
|
188
|
-
good-names=i,
|
|
189
|
-
j,
|
|
190
|
-
k,
|
|
191
|
-
ex,
|
|
192
|
-
Run,
|
|
193
|
-
_
|
|
194
|
-
|
|
195
|
-
# Good variable names regexes, separated by a comma. If names match any regex,
|
|
196
|
-
# they will always be accepted
|
|
197
|
-
good-names-rgxs=
|
|
198
|
-
|
|
199
|
-
# Include a hint for the correct naming format with invalid-name.
|
|
200
|
-
include-naming-hint=no
|
|
201
|
-
|
|
202
|
-
# Naming style matching correct inline iteration names.
|
|
203
|
-
inlinevar-naming-style=any
|
|
204
|
-
|
|
205
|
-
# Regular expression matching correct inline iteration names. Overrides
|
|
206
|
-
# inlinevar-naming-style. If left empty, inline iteration names will be checked
|
|
207
|
-
# with the set naming style.
|
|
208
|
-
#inlinevar-rgx=
|
|
209
|
-
|
|
210
|
-
# Naming style matching correct method names.
|
|
211
|
-
method-naming-style=snake_case
|
|
212
|
-
|
|
213
|
-
# Regular expression matching correct method names. Overrides method-naming-
|
|
214
|
-
# style. If left empty, method names will be checked with the set naming style.
|
|
215
|
-
#method-rgx=
|
|
216
|
-
|
|
217
|
-
# Naming style matching correct module names.
|
|
218
|
-
module-naming-style=snake_case
|
|
219
|
-
|
|
220
|
-
# Regular expression matching correct module names. Overrides module-naming-
|
|
221
|
-
# style. If left empty, module names will be checked with the set naming style.
|
|
222
|
-
#module-rgx=
|
|
223
|
-
|
|
224
|
-
# Colon-delimited sets of names that determine each other's naming style when
|
|
225
|
-
# the name regexes allow several styles.
|
|
226
|
-
name-group=
|
|
227
|
-
|
|
228
|
-
# Regular expression which should only match function or class names that do
|
|
229
|
-
# not require a docstring.
|
|
230
|
-
no-docstring-rgx=^_
|
|
231
|
-
|
|
232
|
-
# List of decorators that produce properties, such as abc.abstractproperty. Add
|
|
233
|
-
# to this list to register other decorators that produce valid properties.
|
|
234
|
-
# These decorators are taken in consideration only for invalid-name.
|
|
235
|
-
property-classes=abc.abstractproperty
|
|
236
|
-
|
|
237
|
-
# Regular expression matching correct type alias names. If left empty, type
|
|
238
|
-
# alias names will be checked with the set naming style.
|
|
239
|
-
#typealias-rgx=
|
|
240
|
-
|
|
241
|
-
# Regular expression matching correct type variable names. If left empty, type
|
|
242
|
-
# variable names will be checked with the set naming style.
|
|
243
|
-
#typevar-rgx=
|
|
244
|
-
|
|
245
|
-
# Naming style matching correct variable names.
|
|
246
|
-
variable-naming-style=snake_case
|
|
247
|
-
|
|
248
|
-
# Regular expression matching correct variable names. Overrides variable-
|
|
249
|
-
# naming-style. If left empty, variable names will be checked with the set
|
|
250
|
-
# naming style.
|
|
251
|
-
#variable-rgx=
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
[CLASSES]
|
|
255
|
-
|
|
256
|
-
# Warn about protected attribute access inside special methods
|
|
257
|
-
check-protected-access-in-special-methods=no
|
|
258
|
-
|
|
259
|
-
# List of method names used to declare (i.e. assign) instance attributes.
|
|
260
|
-
defining-attr-methods=__init__,
|
|
261
|
-
__new__,
|
|
262
|
-
setUp,
|
|
263
|
-
asyncSetUp,
|
|
264
|
-
__post_init__
|
|
265
|
-
|
|
266
|
-
# List of member names, which should be excluded from the protected access
|
|
267
|
-
# warning.
|
|
268
|
-
exclude-protected=_asdict,_fields,_replace,_source,_make,os._exit
|
|
269
|
-
|
|
270
|
-
# List of valid names for the first argument in a class method.
|
|
271
|
-
valid-classmethod-first-arg=cls
|
|
272
|
-
|
|
273
|
-
# List of valid names for the first argument in a metaclass class method.
|
|
274
|
-
valid-metaclass-classmethod-first-arg=mcs
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
[DESIGN]
|
|
278
|
-
|
|
279
|
-
# List of regular expressions of class ancestor names to ignore when counting
|
|
280
|
-
# public methods (see R0903)
|
|
281
|
-
exclude-too-few-public-methods=
|
|
282
|
-
|
|
283
|
-
# List of qualified class names to ignore when counting class parents (see
|
|
284
|
-
# R0901)
|
|
285
|
-
ignored-parents=
|
|
286
|
-
|
|
287
|
-
# Maximum number of arguments for function / method.
|
|
288
|
-
max-args=5
|
|
289
|
-
|
|
290
|
-
# Maximum number of attributes for a class (see R0902).
|
|
291
|
-
max-attributes=7
|
|
292
|
-
|
|
293
|
-
# Maximum number of boolean expressions in an if statement (see R0916).
|
|
294
|
-
max-bool-expr=5
|
|
295
|
-
|
|
296
|
-
# Maximum number of branch for function / method body.
|
|
297
|
-
max-branches=12
|
|
298
|
-
|
|
299
|
-
# Maximum number of locals for function / method body.
|
|
300
|
-
max-locals=15
|
|
301
|
-
|
|
302
|
-
# Maximum number of parents for a class (see R0901).
|
|
303
|
-
max-parents=7
|
|
304
|
-
|
|
305
|
-
# Maximum number of public methods for a class (see R0904).
|
|
306
|
-
max-public-methods=20
|
|
307
|
-
|
|
308
|
-
# Maximum number of return / yield for function / method body.
|
|
309
|
-
max-returns=6
|
|
310
|
-
|
|
311
|
-
# Maximum number of statements in function / method body.
|
|
312
|
-
max-statements=50
|
|
313
|
-
|
|
314
|
-
# Minimum number of public methods for a class (see R0903).
|
|
315
|
-
min-public-methods=2
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
[EXCEPTIONS]
|
|
319
|
-
|
|
320
|
-
# Exceptions that will emit a warning when caught.
|
|
321
|
-
overgeneral-exceptions=builtins.BaseException,builtins.Exception
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
[FORMAT]
|
|
325
|
-
|
|
326
|
-
# Expected format of line ending, e.g. empty (any line ending), LF or CRLF.
|
|
327
|
-
expected-line-ending-format=
|
|
328
|
-
|
|
329
|
-
# Regexp for a line that is allowed to be longer than the limit.
|
|
330
|
-
ignore-long-lines=^\s*(# )?<?https?://\S+>?$
|
|
331
|
-
|
|
332
|
-
# Number of spaces of indent required inside a hanging or continued line.
|
|
333
|
-
indent-after-paren=4
|
|
334
|
-
|
|
335
|
-
# String used as indentation unit. This is usually " " (4 spaces) or "\t" (1
|
|
336
|
-
# tab).
|
|
337
|
-
indent-string=' '
|
|
338
|
-
|
|
339
|
-
# Maximum number of characters on a single line.
|
|
340
|
-
max-line-length=100
|
|
341
|
-
|
|
342
|
-
# Maximum number of lines in a module.
|
|
343
|
-
max-module-lines=1000
|
|
344
|
-
|
|
345
|
-
# Allow the body of a class to be on the same line as the declaration if body
|
|
346
|
-
# contains single statement.
|
|
347
|
-
single-line-class-stmt=no
|
|
348
|
-
|
|
349
|
-
# Allow the body of an if to be on the same line as the test if there is no
|
|
350
|
-
# else.
|
|
351
|
-
single-line-if-stmt=no
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
[IMPORTS]
|
|
355
|
-
|
|
356
|
-
# List of modules that can be imported at any level, not just the top level
|
|
357
|
-
# one.
|
|
358
|
-
allow-any-import-level=
|
|
359
|
-
|
|
360
|
-
# Allow explicit reexports by alias from a package __init__.
|
|
361
|
-
allow-reexport-from-package=no
|
|
362
|
-
|
|
363
|
-
# Allow wildcard imports from modules that define __all__.
|
|
364
|
-
allow-wildcard-with-all=no
|
|
365
|
-
|
|
366
|
-
# Deprecated modules which should not be used, separated by a comma.
|
|
367
|
-
deprecated-modules=
|
|
368
|
-
|
|
369
|
-
# Output a graph (.gv or any supported image format) of external dependencies
|
|
370
|
-
# to the given file (report RP0402 must not be disabled).
|
|
371
|
-
ext-import-graph=
|
|
372
|
-
|
|
373
|
-
# Output a graph (.gv or any supported image format) of all (i.e. internal and
|
|
374
|
-
# external) dependencies to the given file (report RP0402 must not be
|
|
375
|
-
# disabled).
|
|
376
|
-
import-graph=
|
|
377
|
-
|
|
378
|
-
# Output a graph (.gv or any supported image format) of internal dependencies
|
|
379
|
-
# to the given file (report RP0402 must not be disabled).
|
|
380
|
-
int-import-graph=
|
|
381
|
-
|
|
382
|
-
# Force import order to recognize a module as part of the standard
|
|
383
|
-
# compatibility libraries.
|
|
384
|
-
known-standard-library=
|
|
385
|
-
|
|
386
|
-
# Force import order to recognize a module as part of a third party library.
|
|
387
|
-
known-third-party=enchant
|
|
388
|
-
|
|
389
|
-
# Couples of modules and preferred modules, separated by a comma.
|
|
390
|
-
preferred-modules=
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
[LOGGING]
|
|
394
|
-
|
|
395
|
-
# The type of string formatting that logging methods do. `old` means using %
|
|
396
|
-
# formatting, `new` is for `{}` formatting.
|
|
397
|
-
logging-format-style=old
|
|
398
|
-
|
|
399
|
-
# Logging modules to check that the string format arguments are in logging
|
|
400
|
-
# function parameter format.
|
|
401
|
-
logging-modules=logging
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
[MESSAGES CONTROL]
|
|
405
|
-
|
|
406
|
-
# Only show warnings with the listed confidence levels. Leave empty to show
|
|
407
|
-
# all. Valid levels: HIGH, CONTROL_FLOW, INFERENCE, INFERENCE_FAILURE,
|
|
408
|
-
# UNDEFINED.
|
|
409
|
-
confidence=HIGH,
|
|
410
|
-
CONTROL_FLOW,
|
|
411
|
-
INFERENCE,
|
|
412
|
-
INFERENCE_FAILURE,
|
|
413
|
-
UNDEFINED
|
|
414
|
-
|
|
415
|
-
# Disable the message, report, category or checker with the given id(s). You
|
|
416
|
-
# can either give multiple identifiers separated by comma (,) or put this
|
|
417
|
-
# option multiple times (only on the command line, not in the configuration
|
|
418
|
-
# file where it should appear only once). You can also use "--disable=all" to
|
|
419
|
-
# disable everything first and then re-enable specific checks. For example, if
|
|
420
|
-
# you want to run only the similarities checker, you can use "--disable=all
|
|
421
|
-
# --enable=similarities". If you want to run only the classes checker, but have
|
|
422
|
-
# no Warning level messages displayed, use "--disable=all --enable=classes
|
|
423
|
-
# --disable=W".
|
|
424
|
-
disable=raw-checker-failed,
|
|
425
|
-
bad-inline-option,
|
|
426
|
-
locally-disabled,
|
|
427
|
-
file-ignored,
|
|
428
|
-
suppressed-message,
|
|
429
|
-
useless-suppression,
|
|
430
|
-
deprecated-pragma,
|
|
431
|
-
use-implicit-booleaness-not-comparison-to-string,
|
|
432
|
-
use-implicit-booleaness-not-comparison-to-zero,
|
|
433
|
-
use-symbolic-message-instead
|
|
434
|
-
|
|
435
|
-
# Enable the message, report, category or checker with the given id(s). You can
|
|
436
|
-
# either give multiple identifier separated by comma (,) or put this option
|
|
437
|
-
# multiple time (only on the command line, not in the configuration file where
|
|
438
|
-
# it should appear only once). See also the "--disable" option for examples.
|
|
439
|
-
enable=
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
[METHOD_ARGS]
|
|
443
|
-
|
|
444
|
-
# List of qualified names (i.e., library.method) which require a timeout
|
|
445
|
-
# parameter e.g. 'requests.api.get,requests.api.post'
|
|
446
|
-
timeout-methods=requests.api.delete,requests.api.get,requests.api.head,requests.api.options,requests.api.patch,requests.api.post,requests.api.put,requests.api.request
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
[MISCELLANEOUS]
|
|
450
|
-
|
|
451
|
-
# List of note tags to take in consideration, separated by a comma.
|
|
452
|
-
notes=FIXME,
|
|
453
|
-
XXX,
|
|
454
|
-
TODO
|
|
455
|
-
|
|
456
|
-
# Regular expression of note tags to take in consideration.
|
|
457
|
-
notes-rgx=
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
[REFACTORING]
|
|
461
|
-
|
|
462
|
-
# Maximum number of nested blocks for function / method body
|
|
463
|
-
max-nested-blocks=5
|
|
464
|
-
|
|
465
|
-
# Complete name of functions that never returns. When checking for
|
|
466
|
-
# inconsistent-return-statements if a never returning function is called then
|
|
467
|
-
# it will be considered as an explicit return statement and no message will be
|
|
468
|
-
# printed.
|
|
469
|
-
never-returning-functions=sys.exit,argparse.parse_error
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
[REPORTS]
|
|
473
|
-
|
|
474
|
-
# Python expression which should return a score less than or equal to 10. You
|
|
475
|
-
# have access to the variables 'fatal', 'error', 'warning', 'refactor',
|
|
476
|
-
# 'convention', and 'info' which contain the number of messages in each
|
|
477
|
-
# category, as well as 'statement' which is the total number of statements
|
|
478
|
-
# analyzed. This score is used by the global evaluation report (RP0004).
|
|
479
|
-
evaluation=max(0, 0 if fatal else 10.0 - ((float(5 * error + warning + refactor + convention) / statement) * 10))
|
|
480
|
-
|
|
481
|
-
# Template used to display messages. This is a python new-style format string
|
|
482
|
-
# used to format the message information. See doc for all details.
|
|
483
|
-
msg-template=
|
|
484
|
-
|
|
485
|
-
# Set the output format. Available formats are: text, parseable, colorized,
|
|
486
|
-
# json2 (improved json format), json (old json format) and msvs (visual
|
|
487
|
-
# studio). You can also give a reporter class, e.g.
|
|
488
|
-
# mypackage.mymodule.MyReporterClass.
|
|
489
|
-
#output-format=
|
|
490
|
-
|
|
491
|
-
# Tells whether to display a full report or only the messages.
|
|
492
|
-
reports=no
|
|
493
|
-
|
|
494
|
-
# Activate the evaluation score.
|
|
495
|
-
score=yes
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
[SIMILARITIES]
|
|
499
|
-
|
|
500
|
-
# Comments are removed from the similarity computation
|
|
501
|
-
ignore-comments=yes
|
|
502
|
-
|
|
503
|
-
# Docstrings are removed from the similarity computation
|
|
504
|
-
ignore-docstrings=yes
|
|
505
|
-
|
|
506
|
-
# Imports are removed from the similarity computation
|
|
507
|
-
ignore-imports=yes
|
|
508
|
-
|
|
509
|
-
# Signatures are removed from the similarity computation
|
|
510
|
-
ignore-signatures=yes
|
|
511
|
-
|
|
512
|
-
# Minimum lines number of a similarity.
|
|
513
|
-
min-similarity-lines=4
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
[SPELLING]
|
|
517
|
-
|
|
518
|
-
# Limits count of emitted suggestions for spelling mistakes.
|
|
519
|
-
max-spelling-suggestions=4
|
|
520
|
-
|
|
521
|
-
# Spelling dictionary name. Available dictionaries: en (aspell), en_AU
|
|
522
|
-
# (aspell), en_CA (aspell), en_GB (aspell), en_US (aspell), fr (hunspell),
|
|
523
|
-
# fr_BE (hunspell), fr_CA (hunspell), fr_CH (hunspell), fr_FR (hunspell), fr_LU
|
|
524
|
-
# (hunspell), fr_MC (hunspell).
|
|
525
|
-
spelling-dict=
|
|
526
|
-
|
|
527
|
-
# List of comma separated words that should be considered directives if they
|
|
528
|
-
# appear at the beginning of a comment and should not be checked.
|
|
529
|
-
spelling-ignore-comment-directives=fmt: on,fmt: off,noqa:,noqa,nosec,isort:skip,mypy:
|
|
530
|
-
|
|
531
|
-
# List of comma separated words that should not be checked.
|
|
532
|
-
spelling-ignore-words=
|
|
533
|
-
|
|
534
|
-
# A path to a file that contains the private dictionary; one word per line.
|
|
535
|
-
spelling-private-dict-file=
|
|
536
|
-
|
|
537
|
-
# Tells whether to store unknown words to the private dictionary (see the
|
|
538
|
-
# --spelling-private-dict-file option) instead of raising a message.
|
|
539
|
-
spelling-store-unknown-words=no
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
[STRING]
|
|
543
|
-
|
|
544
|
-
# This flag controls whether inconsistent-quotes generates a warning when the
|
|
545
|
-
# character used as a quote delimiter is used inconsistently within a module.
|
|
546
|
-
check-quote-consistency=no
|
|
547
|
-
|
|
548
|
-
# This flag controls whether the implicit-str-concat should generate a warning
|
|
549
|
-
# on implicit string concatenation in sequences defined over several lines.
|
|
550
|
-
check-str-concat-over-line-jumps=no
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
[TYPECHECK]
|
|
554
|
-
|
|
555
|
-
# List of decorators that produce context managers, such as
|
|
556
|
-
# contextlib.contextmanager. Add to this list to register other decorators that
|
|
557
|
-
# produce valid context managers.
|
|
558
|
-
contextmanager-decorators=contextlib.contextmanager
|
|
559
|
-
|
|
560
|
-
# List of members which are set dynamically and missed by pylint inference
|
|
561
|
-
# system, and so shouldn't trigger E1101 when accessed. Python regular
|
|
562
|
-
# expressions are accepted.
|
|
563
|
-
generated-members=
|
|
564
|
-
|
|
565
|
-
# Tells whether to warn about missing members when the owner of the attribute
|
|
566
|
-
# is inferred to be None.
|
|
567
|
-
ignore-none=yes
|
|
568
|
-
|
|
569
|
-
# This flag controls whether pylint should warn about no-member and similar
|
|
570
|
-
# checks whenever an opaque object is returned when inferring. The inference
|
|
571
|
-
# can return multiple potential results while evaluating a Python object, but
|
|
572
|
-
# some branches might not be evaluated, which results in partial inference. In
|
|
573
|
-
# that case, it might be useful to still emit no-member and other checks for
|
|
574
|
-
# the rest of the inferred objects.
|
|
575
|
-
ignore-on-opaque-inference=yes
|
|
576
|
-
|
|
577
|
-
# List of symbolic message names to ignore for Mixin members.
|
|
578
|
-
ignored-checks-for-mixins=no-member,
|
|
579
|
-
not-async-context-manager,
|
|
580
|
-
not-context-manager,
|
|
581
|
-
attribute-defined-outside-init
|
|
582
|
-
|
|
583
|
-
# List of class names for which member attributes should not be checked (useful
|
|
584
|
-
# for classes with dynamically set attributes). This supports the use of
|
|
585
|
-
# qualified names.
|
|
586
|
-
ignored-classes=optparse.Values,thread._local,_thread._local,argparse.Namespace
|
|
587
|
-
|
|
588
|
-
# Show a hint with possible names when a member name was not found. The aspect
|
|
589
|
-
# of finding the hint is based on edit distance.
|
|
590
|
-
missing-member-hint=yes
|
|
591
|
-
|
|
592
|
-
# The minimum edit distance a name should have in order to be considered a
|
|
593
|
-
# similar match for a missing member name.
|
|
594
|
-
missing-member-hint-distance=1
|
|
595
|
-
|
|
596
|
-
# The total number of similar names that should be taken in consideration when
|
|
597
|
-
# showing a hint for a missing member.
|
|
598
|
-
missing-member-max-choices=1
|
|
599
|
-
|
|
600
|
-
# Regex pattern to define which classes are considered mixins.
|
|
601
|
-
mixin-class-rgx=.*[Mm]ixin
|
|
602
|
-
|
|
603
|
-
# List of decorators that change the signature of a decorated function.
|
|
604
|
-
signature-mutators=
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
[VARIABLES]
|
|
608
|
-
|
|
609
|
-
# List of additional names supposed to be defined in builtins. Remember that
|
|
610
|
-
# you should avoid defining new builtins when possible.
|
|
611
|
-
additional-builtins=
|
|
612
|
-
|
|
613
|
-
# Tells whether unused global variables should be treated as a violation.
|
|
614
|
-
allow-global-unused-variables=yes
|
|
615
|
-
|
|
616
|
-
# List of names allowed to shadow builtins
|
|
617
|
-
allowed-redefined-builtins=
|
|
618
|
-
|
|
619
|
-
# List of strings which can identify a callback function by name. A callback
|
|
620
|
-
# name must start or end with one of those strings.
|
|
621
|
-
callbacks=cb_,
|
|
622
|
-
_cb
|
|
623
|
-
|
|
624
|
-
# A regular expression matching the name of dummy variables (i.e. expected to
|
|
625
|
-
# not be used).
|
|
626
|
-
dummy-variables-rgx=_+$|(_[a-zA-Z0-9_]*[a-zA-Z0-9]+?$)|dummy|^ignored_|^unused_
|
|
627
|
-
|
|
628
|
-
# Argument names that match this expression will be ignored.
|
|
629
|
-
ignored-argument-names=_.*|^ignored_|^unused_
|
|
630
|
-
|
|
631
|
-
# Tells whether we should check for unused import in __init__ files.
|
|
632
|
-
init-import=no
|
|
633
|
-
|
|
634
|
-
# List of qualified module names which can have objects that can redefine
|
|
635
|
-
# builtins.
|
|
636
|
-
redefining-builtins-modules=six.moves,past.builtins,future.builtins,builtins,io
|
libusb1-3.3.0/KEYS
DELETED
|
@@ -1,160 +0,0 @@
|
|
|
1
|
-
This file contains the PGP keys authorised to sign releases.
|
|
2
|
-
|
|
3
|
-
NOTE: Releases from version 1.8.1 onward must be expected to be signed.
|
|
4
|
-
If one is not signed, please do not use it, and report it as a bug here:
|
|
5
|
-
https://github.com/vpelletier/python-libusb1/issues/
|
|
6
|
-
|
|
7
|
-
Users:
|
|
8
|
-
Adding/updating trusted keys:
|
|
9
|
-
gpg --homedir <gpg homedir to verify this project's releases>
|
|
10
|
-
--import KEYS
|
|
11
|
-
Fetching and checking a release (see https://stackoverflow.com/a/62687869):
|
|
12
|
-
wget <pypi release URL>
|
|
13
|
-
wget <pypi release URL>.asc
|
|
14
|
-
gpg --homedir <gpg homedir to verify this project's releases>
|
|
15
|
-
--verify <release file name>.asc
|
|
16
|
-
Release maintainers:
|
|
17
|
-
Adding your key to this file:
|
|
18
|
-
LC_ALL=C; (gpg --list-sigs <your key id>
|
|
19
|
-
&& gpg --armor --export <your key id>) >> KEYS
|
|
20
|
-
Signing and publishing a release:
|
|
21
|
-
git clean -idx
|
|
22
|
-
python setup.py sdist check
|
|
23
|
-
# Check dist content before signing as desired
|
|
24
|
-
gpg --armor --detach-sign dist/<release file>
|
|
25
|
-
twine upload dist/<release file> dist/<release file>.asc
|
|
26
|
-
|
|
27
|
-
pub rsa4096 2014-08-21 [SC]
|
|
28
|
-
983AE8B73B9115987A923845CAC936914257B0C1
|
|
29
|
-
uid [ unknown] Vincent Pelletier <vincent.plr@wanadoo.fr>
|
|
30
|
-
sig 3 CAC936914257B0C1 2014-08-21 Vincent Pelletier <vincent.plr@wanadoo.fr>
|
|
31
|
-
uid [ unknown] Vincent Pelletier <plr.vincent@gmail.com>
|
|
32
|
-
sig 3 CAC936914257B0C1 2014-08-21 Vincent Pelletier <vincent.plr@wanadoo.fr>
|
|
33
|
-
sub rsa4096 2014-08-21 [E]
|
|
34
|
-
sig CAC936914257B0C1 2014-08-21 Vincent Pelletier <vincent.plr@wanadoo.fr>
|
|
35
|
-
sub rsa4096 2020-07-05 [S] [expires: 2022-07-05]
|
|
36
|
-
sig CAC936914257B0C1 2020-07-05 Vincent Pelletier <vincent.plr@wanadoo.fr>
|
|
37
|
-
|
|
38
|
-
-----BEGIN PGP PUBL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Pt99TOFwRGMsosMmf1Uzvf4Gcmk6
|
|
154
|
-
wkxvdWWF43VC7BqV0wvsUpahmtiwzeSNJEaSgj0ytSDdrIl4FVVisVdKCv89/khV
|
|
155
|
-
C44FzlML1ZX+cyVzT9UTH7C05lmOVBrCJS8ANR8hchQVCPQ1NspsvXabDr/kB84S
|
|
156
|
-
lxr7zkFA0QPH7dNHEaeVPU3m2fmlSqVN2L0rsBkqrzNU0HKFSTiro07Z43suEYxp
|
|
157
|
-
1EujEMTYRidAvym1qJ0d4lFXd3x6SU/OI0HscaeT+VYtDScV5cgpYNwP3zr7Or1R
|
|
158
|
-
ck5wEliBlN6LBIq1AhYn8fQdM2jQIVWF4xqF6FNKF6/exyAg9nsXhv4b
|
|
159
|
-
=52Ev
|
|
160
|
-
-----END PGP PUBLIC KEY BLOCK-----
|
libusb1-3.3.0/runTestLibusb.sh
DELETED
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
#!/bin/bash
|
|
2
|
-
# Run tests against multiple libusb versions.
|
|
3
|
-
# Useful to check backward-compatibility with libusb versions which lack some
|
|
4
|
-
# exports.
|
|
5
|
-
set -eu
|
|
6
|
-
|
|
7
|
-
if [ $# -lt 4 ]; then
|
|
8
|
-
echo "Usage: $0 python remote remote_name changeset [changeset [...]]"
|
|
9
|
-
exit 1
|
|
10
|
-
fi
|
|
11
|
-
python="$1"
|
|
12
|
-
remote="$2"
|
|
13
|
-
remote_name="$3"
|
|
14
|
-
shift 3
|
|
15
|
-
|
|
16
|
-
if [ "x$python" = "x" ]; then
|
|
17
|
-
echo "<python> argument must not be empty"
|
|
18
|
-
exit 1
|
|
19
|
-
fi
|
|
20
|
-
|
|
21
|
-
python_libusb1="$(dirname "$(realpath "$0")")"
|
|
22
|
-
base="${python_libusb1}/test-libusb"
|
|
23
|
-
venv_dir="${base}/$(basename "$python")"
|
|
24
|
-
build_base="${base}/build"
|
|
25
|
-
repo_dir="${base}/repo/${remote_name}"
|
|
26
|
-
|
|
27
|
-
test -e "$venv_dir" && rm -r "$venv_dir"
|
|
28
|
-
virtualenv --python "$python" "$venv_dir"
|
|
29
|
-
"${venv_dir}/bin/pip" install "$python_libusb1"
|
|
30
|
-
|
|
31
|
-
if [ -e "$repo_dir" ]; then
|
|
32
|
-
git -C "$repo_dir" fetch
|
|
33
|
-
else
|
|
34
|
-
git clone --no-checkout "$remote" "$repo_dir"
|
|
35
|
-
fi
|
|
36
|
-
cd "$repo_dir"
|
|
37
|
-
# Also test against system-installed libusb
|
|
38
|
-
lib_dir_list=("")
|
|
39
|
-
# Build all first, test later, so errors are all visible at the end
|
|
40
|
-
while [ $# -ne 0 ]; do
|
|
41
|
-
changeset="$1"
|
|
42
|
-
shift
|
|
43
|
-
build_dir="${build_base}/${remote_name}/${changeset}"
|
|
44
|
-
if [ ! -e "$build_dir" ]; then
|
|
45
|
-
mkdir -p "$build_dir"
|
|
46
|
-
git checkout --force "$changeset"
|
|
47
|
-
git clean --force -dx
|
|
48
|
-
./autogen.sh --prefix="$build_dir"
|
|
49
|
-
make
|
|
50
|
-
make install
|
|
51
|
-
fi
|
|
52
|
-
lib_dir_list+=("${build_dir}/lib")
|
|
53
|
-
done
|
|
54
|
-
|
|
55
|
-
result=0
|
|
56
|
-
venv_python="${venv_dir}/bin/python"
|
|
57
|
-
for lib_dir in "${lib_dir_list[@]}"; do
|
|
58
|
-
export LD_LIBRARY_PATH="${lib_dir}"
|
|
59
|
-
if "$venv_python" -m usb1.testUSB1; then
|
|
60
|
-
:
|
|
61
|
-
else
|
|
62
|
-
echo "usb1.testUSB1 failed with ${lib_dir}: status=$?"
|
|
63
|
-
result=1
|
|
64
|
-
fi
|
|
65
|
-
if "$venv_python" "${python_libusb1}/examples/listdevs.py"; then
|
|
66
|
-
:
|
|
67
|
-
else
|
|
68
|
-
echo "examples/listdevs.py failed with ${lib_dir}: status=$?"
|
|
69
|
-
result=1
|
|
70
|
-
fi
|
|
71
|
-
if timeout --preserve-status --signal INT 1 "$venv_python" "${python_libusb1}/examples/hotplug.py"; then
|
|
72
|
-
:
|
|
73
|
-
else
|
|
74
|
-
echo "examples/hotplug.py failed with ${lib_dir}: status=$?"
|
|
75
|
-
result=1
|
|
76
|
-
fi
|
|
77
|
-
done
|
|
78
|
-
exit $result
|
libusb1-3.3.0/setup.sh
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
#!/bin/bash
|
|
2
|
-
set -eu
|
|
3
|
-
cd "$(dirname "$(realpath "$0")")"
|
|
4
|
-
for python_v in python3 pypy3; do
|
|
5
|
-
if ./runTestLibusb.sh "$python_v" https://github.com/libusb/libusb.git libusb.git master v1.0.19 v1.0.22 v1.0.24 v1.0.25 v1.0.26 v1.0.27; then
|
|
6
|
-
:
|
|
7
|
-
else
|
|
8
|
-
echo "runTestLibusb.sh failed with ${python_v} ($("$python_v" --version))"
|
|
9
|
-
exit 1
|
|
10
|
-
fi
|
|
11
|
-
done
|
|
12
|
-
export I_KNOW_HOW_TO_RELEASE_PYTHON_LIBUSB1=1
|
|
13
|
-
echo "Fetching libusb1 windows binary distribution..."
|
|
14
|
-
python3 setup.py --quiet update_libusb
|
|
15
|
-
echo "Building distributions..."
|
|
16
|
-
embedded_dll_path="usb1/libusb-1.0.dll"
|
|
17
|
-
for python_v in python3; do
|
|
18
|
-
echo "$python_v bdist_wheel win32"
|
|
19
|
-
cp "build/win32/libusb-1.0.dll" "$embedded_dll_path"
|
|
20
|
-
"${python_v}" setup.py --quiet bdist_wheel --plat-name win32 clean --all
|
|
21
|
-
cp "build/win_amd64/libusb-1.0.dll" "$embedded_dll_path"
|
|
22
|
-
"${python_v}" setup.py --quiet bdist_wheel --plat-name win_amd64 clean --all
|
|
23
|
-
rm "$embedded_dll_path"
|
|
24
|
-
"${python_v}" setup.py --quiet bdist_wheel --plat-name any clean --all
|
|
25
|
-
done
|
|
26
|
-
python3 setup.py --quiet sdist clean --all
|
|
27
|
-
release_prefix="dist/libusb1-$(python3 -c 'import versioneer; print(versioneer.get_version())')"
|
|
28
|
-
twine check --strict "${release_prefix}"*.{whl,tar.gz}
|
|
29
|
-
echo "Done. Next, check their content, sign each:"
|
|
30
|
-
echo " for release in ${release_prefix}-*.whl ${release_prefix}.tar.gz; do gpg --armor --detach-sign \"\$release\"; done"
|
|
31
|
-
echo "upload them to pypi:"
|
|
32
|
-
echo " twine upload ${release_prefix}-*.whl ${release_prefix}.tar.gz"
|
|
33
|
-
echo "and create a new release on github"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|