xmlsec 1.3.12__tar.gz → 1.3.14__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.
Files changed (88) hide show
  1. xmlsec-1.3.14/.pre-commit-config.yaml +48 -0
  2. {xmlsec-1.3.12 → xmlsec-1.3.14}/.readthedocs.yaml +5 -1
  3. {xmlsec-1.3.12/src/xmlsec.egg-info → xmlsec-1.3.14}/PKG-INFO +19 -16
  4. {xmlsec-1.3.12 → xmlsec-1.3.14}/README.rst +15 -12
  5. xmlsec-1.3.14/pyproject.toml +87 -0
  6. {xmlsec-1.3.12 → xmlsec-1.3.14}/setup.cfg +6 -0
  7. {xmlsec-1.3.12 → xmlsec-1.3.14}/setup.py +261 -62
  8. {xmlsec-1.3.12 → xmlsec-1.3.14}/src/common.h +1 -1
  9. {xmlsec-1.3.12 → xmlsec-1.3.14}/src/constants.c +9 -4
  10. {xmlsec-1.3.12 → xmlsec-1.3.14}/src/enc.c +12 -0
  11. {xmlsec-1.3.12 → xmlsec-1.3.14}/src/keys.c +58 -2
  12. xmlsec-1.3.14/src/lxml.c +131 -0
  13. {xmlsec-1.3.12 → xmlsec-1.3.14}/src/lxml.h +10 -1
  14. {xmlsec-1.3.12 → xmlsec-1.3.14}/src/main.c +59 -4
  15. xmlsec-1.3.14/src/xmlsec/__init__.pyi +80 -0
  16. xmlsec-1.3.14/src/xmlsec/constants.pyi +153 -0
  17. {xmlsec-1.3.12 → xmlsec-1.3.14}/src/xmlsec/template.pyi +15 -14
  18. {xmlsec-1.3.12 → xmlsec-1.3.14}/src/xmlsec/tree.pyi +8 -7
  19. {xmlsec-1.3.12 → xmlsec-1.3.14/src/xmlsec.egg-info}/PKG-INFO +19 -16
  20. {xmlsec-1.3.12 → xmlsec-1.3.14}/src/xmlsec.egg-info/SOURCES.txt +14 -12
  21. {xmlsec-1.3.12 → xmlsec-1.3.14}/tests/base.py +25 -44
  22. {xmlsec-1.3.12 → xmlsec-1.3.14}/tests/conftest.py +3 -2
  23. xmlsec-1.3.14/tests/data/deskey.bin +1 -0
  24. {xmlsec-1.3.12 → xmlsec-1.3.14}/tests/data/doc.xml +1 -1
  25. {xmlsec-1.3.12 → xmlsec-1.3.14}/tests/data/enc1-in.xml +1 -1
  26. {xmlsec-1.3.12 → xmlsec-1.3.14}/tests/data/enc1-out.xml +1 -1
  27. {xmlsec-1.3.12 → xmlsec-1.3.14}/tests/data/enc2-out.xml +1 -1
  28. {xmlsec-1.3.12 → xmlsec-1.3.14}/tests/data/rsacert.pem +4 -4
  29. {xmlsec-1.3.12 → xmlsec-1.3.14}/tests/data/sign1-in.xml +2 -3
  30. {xmlsec-1.3.12 → xmlsec-1.3.14}/tests/data/sign1-out.xml +2 -2
  31. {xmlsec-1.3.12 → xmlsec-1.3.14}/tests/data/sign2-in.xml +2 -2
  32. {xmlsec-1.3.12 → xmlsec-1.3.14}/tests/data/sign2-out.xml +2 -2
  33. {xmlsec-1.3.12 → xmlsec-1.3.14}/tests/data/sign3-in.xml +2 -2
  34. {xmlsec-1.3.12 → xmlsec-1.3.14}/tests/data/sign3-out.xml +2 -2
  35. {xmlsec-1.3.12 → xmlsec-1.3.14}/tests/data/sign4-in.xml +2 -2
  36. {xmlsec-1.3.12 → xmlsec-1.3.14}/tests/data/sign4-out.xml +1 -1
  37. xmlsec-1.3.14/tests/data/sign5-out-xmlsec_1_2_36_to_37.xml +67 -0
  38. xmlsec-1.3.14/tests/softhsm_setup.py +332 -0
  39. {xmlsec-1.3.12 → xmlsec-1.3.14}/tests/test_constants.py +5 -5
  40. {xmlsec-1.3.12 → xmlsec-1.3.14}/tests/test_ds.py +6 -3
  41. {xmlsec-1.3.12 → xmlsec-1.3.14}/tests/test_enc.py +4 -24
  42. {xmlsec-1.3.12 → xmlsec-1.3.14}/tests/test_main.py +2 -2
  43. xmlsec-1.3.14/tests/test_pkcs11.py +57 -0
  44. {xmlsec-1.3.12 → xmlsec-1.3.14}/tests/test_type_stubs.py +13 -12
  45. {xmlsec-1.3.12 → xmlsec-1.3.14}/tests/test_xmlsec.py +3 -3
  46. xmlsec-1.3.12/mypy.ini +0 -16
  47. xmlsec-1.3.12/pyproject.toml +0 -26
  48. xmlsec-1.3.12/src/lxml.c +0 -43
  49. xmlsec-1.3.12/src/xmlsec/__init__.pyi +0 -87
  50. xmlsec-1.3.12/src/xmlsec/constants.pyi +0 -153
  51. xmlsec-1.3.12/tests/data/deskey.bin +0 -1
  52. xmlsec-1.3.12/tests/data/enc-bad-in.xml +0 -208
  53. {xmlsec-1.3.12 → xmlsec-1.3.14}/LICENSE +0 -0
  54. {xmlsec-1.3.12 → xmlsec-1.3.14}/MANIFEST.in +0 -0
  55. {xmlsec-1.3.12 → xmlsec-1.3.14}/src/constants.h +0 -0
  56. {xmlsec-1.3.12 → xmlsec-1.3.14}/src/debug.h +0 -0
  57. {xmlsec-1.3.12 → xmlsec-1.3.14}/src/ds.c +0 -0
  58. {xmlsec-1.3.12 → xmlsec-1.3.14}/src/exception.c +0 -0
  59. {xmlsec-1.3.12 → xmlsec-1.3.14}/src/exception.h +0 -0
  60. {xmlsec-1.3.12 → xmlsec-1.3.14}/src/keys.h +0 -0
  61. {xmlsec-1.3.12 → xmlsec-1.3.14}/src/platform.h +0 -0
  62. {xmlsec-1.3.12 → xmlsec-1.3.14}/src/template.c +0 -0
  63. {xmlsec-1.3.12 → xmlsec-1.3.14}/src/tree.c +0 -0
  64. {xmlsec-1.3.12 → xmlsec-1.3.14}/src/utils.c +0 -0
  65. {xmlsec-1.3.12 → xmlsec-1.3.14}/src/utils.h +0 -0
  66. {xmlsec-1.3.12 → xmlsec-1.3.14}/src/xmlsec/py.typed +0 -0
  67. {xmlsec-1.3.12 → xmlsec-1.3.14}/src/xmlsec.egg-info/dependency_links.txt +0 -0
  68. {xmlsec-1.3.12 → xmlsec-1.3.14}/src/xmlsec.egg-info/not-zip-safe +0 -0
  69. {xmlsec-1.3.12 → xmlsec-1.3.14}/src/xmlsec.egg-info/requires.txt +0 -0
  70. {xmlsec-1.3.12 → xmlsec-1.3.14}/src/xmlsec.egg-info/top_level.txt +0 -0
  71. {xmlsec-1.3.12 → xmlsec-1.3.14}/tests/__init__.py +0 -0
  72. {xmlsec-1.3.12 → xmlsec-1.3.14}/tests/data/dsacert.der +0 -0
  73. {xmlsec-1.3.12 → xmlsec-1.3.14}/tests/data/dsakey.der +0 -0
  74. {xmlsec-1.3.12 → xmlsec-1.3.14}/tests/data/enc2-in.xml +0 -0
  75. {xmlsec-1.3.12 → xmlsec-1.3.14}/tests/data/enc3-in.xml +0 -0
  76. {xmlsec-1.3.12 → xmlsec-1.3.14}/tests/data/enc3-out.xml +0 -0
  77. {xmlsec-1.3.12 → xmlsec-1.3.14}/tests/data/enc_template.xml +0 -0
  78. {xmlsec-1.3.12 → xmlsec-1.3.14}/tests/data/rsakey.pem +0 -0
  79. {xmlsec-1.3.12 → xmlsec-1.3.14}/tests/data/rsapub.pem +0 -0
  80. {xmlsec-1.3.12 → xmlsec-1.3.14}/tests/data/sign5-in.xml +0 -0
  81. {xmlsec-1.3.12 → xmlsec-1.3.14}/tests/data/sign5-out.xml +0 -0
  82. {xmlsec-1.3.12 → xmlsec-1.3.14}/tests/data/sign6-in.bin +0 -0
  83. {xmlsec-1.3.12 → xmlsec-1.3.14}/tests/data/sign6-out.bin +0 -0
  84. {xmlsec-1.3.12 → xmlsec-1.3.14}/tests/data/sign_template.xml +0 -0
  85. {xmlsec-1.3.12 → xmlsec-1.3.14}/tests/test_doc_examples.py +0 -0
  86. {xmlsec-1.3.12 → xmlsec-1.3.14}/tests/test_keys.py +0 -0
  87. {xmlsec-1.3.12 → xmlsec-1.3.14}/tests/test_templates.py +0 -0
  88. {xmlsec-1.3.12 → xmlsec-1.3.14}/tests/test_tree.py +0 -0
@@ -0,0 +1,48 @@
1
+ # See https://pre-commit.com for more information
2
+ # See https://pre-commit.com/hooks.html for more hooks
3
+ repos:
4
+ - repo: https://github.com/psf/black
5
+ rev: 24.3.0
6
+ hooks:
7
+ - id: black
8
+ types: []
9
+ files: ^.*.pyi?$
10
+ exclude: ^doc/
11
+ - repo: https://github.com/pre-commit/pre-commit-hooks
12
+ rev: v4.6.0
13
+ hooks:
14
+ - id: no-commit-to-branch
15
+ - id: trailing-whitespace
16
+ - id: end-of-file-fixer
17
+ - id: check-yaml
18
+ - id: check-added-large-files
19
+ - id: check-ast
20
+ - id: check-merge-conflict
21
+ - id: check-json
22
+ - id: detect-private-key
23
+ exclude: ^.*/rsakey.pem$
24
+ - id: mixed-line-ending
25
+ - id: pretty-format-json
26
+ args: [--autofix]
27
+ - repo: https://github.com/PyCQA/flake8
28
+ rev: 7.0.0
29
+ hooks:
30
+ - id: flake8
31
+ exclude: ^setup.py$
32
+ additional_dependencies: [flake8-docstrings, flake8-bugbear, flake8-logging-format, flake8-builtins, flake8-eradicate, flake8-fixme, pep8-naming, flake8-pep3101, flake8-annotations-complexity,flake8-pyi]
33
+ - repo: https://github.com/PyCQA/isort
34
+ rev: 5.13.2
35
+ hooks:
36
+ - id: isort
37
+ - repo: https://github.com/pre-commit/mirrors-mypy
38
+ rev: v1.9.0
39
+ hooks:
40
+ - id: mypy
41
+ exclude: (setup.py|tests/.*.py|doc/.*)
42
+ types: []
43
+ files: ^.*.pyi?$
44
+ additional_dependencies: [lxml-stubs,types-docutils]
45
+ - repo: https://github.com/pre-commit/pygrep-hooks
46
+ rev: v1.10.0
47
+ hooks:
48
+ - id: rst-backticks
@@ -1,10 +1,14 @@
1
1
  version: 2
2
2
 
3
+ build:
4
+ os: ubuntu-20.04
5
+ tools:
6
+ python: '3.9'
7
+
3
8
  sphinx:
4
9
  configuration: doc/source/conf.py
5
10
 
6
11
  python:
7
- version: 3.8
8
12
  install:
9
13
  - method: pip
10
14
  path: .
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: xmlsec
3
- Version: 1.3.12
3
+ Version: 1.3.14
4
4
  Summary: Python bindings for the XML Security Library
5
5
  Home-page: https://github.com/mehcode/python-xmlsec
6
6
  Author: Bulat Gaifullin
@@ -12,7 +12,6 @@ Project-URL: Documentation, https://xmlsec.readthedocs.io
12
12
  Project-URL: Source, https://github.com/mehcode/python-xmlsec
13
13
  Project-URL: Changelog, https://github.com/mehcode/python-xmlsec/releases
14
14
  Keywords: xmlsec
15
- Platform: UNKNOWN
16
15
  Classifier: Development Status :: 5 - Production/Stable
17
16
  Classifier: Intended Audience :: Developers
18
17
  Classifier: Intended Audience :: System Administrators
@@ -25,28 +24,34 @@ Classifier: Programming Language :: Python :: 3.6
25
24
  Classifier: Programming Language :: Python :: 3.7
26
25
  Classifier: Programming Language :: Python :: 3.8
27
26
  Classifier: Programming Language :: Python :: 3.9
27
+ Classifier: Programming Language :: Python :: 3.11
28
28
  Classifier: Topic :: Text Processing :: Markup :: XML
29
29
  Classifier: Typing :: Typed
30
30
  Requires-Python: >=3.5
31
+ Description-Content-Type: text/markdown
31
32
  License-File: LICENSE
33
+ Requires-Dist: lxml>=3.8
32
34
 
33
35
  python-xmlsec
34
36
  =============
35
37
 
36
38
  .. image:: https://img.shields.io/pypi/v/xmlsec.svg?logo=python&logoColor=white
37
39
  :target: https://pypi.python.org/pypi/xmlsec
38
- .. image:: https://img.shields.io/travis/com/mehcode/python-xmlsec/master.svg?logo=travis&logoColor=white&label=Travis%20CI
39
- :target: https://travis-ci.org/mehcode/python-xmlsec
40
+ .. image:: https://results.pre-commit.ci/badge/github/xmlsec/python-xmlsec/master.svg
41
+ :target: https://results.pre-commit.ci/latest/github/xmlsec/python-xmlsec/master
42
+ :alt: pre-commit.ci status
40
43
  .. image:: https://img.shields.io/appveyor/ci/hoefling/xmlsec/master.svg?logo=appveyor&logoColor=white&label=AppVeyor
41
44
  :target: https://ci.appveyor.com/project/hoefling/xmlsec
42
- .. image:: https://github.com/mehcode/python-xmlsec/workflows/manylinux2010/badge.svg
43
- :target: https://github.com/mehcode/python-xmlsec/actions?query=workflow%3A%22manylinux2010%22
44
- .. image:: https://github.com/mehcode/python-xmlsec/workflows/MacOS/badge.svg
45
- :target: https://github.com/mehcode/python-xmlsec/actions?query=workflow%3A%22MacOS%22
46
- .. image:: https://github.com/mehcode/python-xmlsec/workflows/linuxbrew/badge.svg
47
- :target: https://github.com/mehcode/python-xmlsec/actions?query=workflow%3A%22linuxbrew%22
48
- .. image:: https://codecov.io/gh/mehcode/python-xmlsec/branch/master/graph/badge.svg
49
- :target: https://codecov.io/gh/mehcode/python-xmlsec
45
+ .. image:: https://github.com/mehcode/python-xmlsec/actions/workflows/manylinux.yml/badge.svg
46
+ :target: https://github.com/mehcode/python-xmlsec/actions/workflows/manylinux.yml
47
+ .. image:: https://github.com/mehcode/python-xmlsec/actions/workflows/macosx.yml/badge.svg
48
+ :target: https://github.com/mehcode/python-xmlsec/actions/workflows/macosx.yml
49
+ .. image:: https://github.com/mehcode/python-xmlsec/actions/workflows/linuxbrew.yml/badge.svg
50
+ :target: https://github.com/mehcode/python-xmlsec/actions/workflows/linuxbrew.yml
51
+ .. image:: https://github.com/mehcode/python-xmlsec/actions/workflows/opensuse-tumbleweed.yml/badge.svg
52
+ :target: https://github.com/mehcode/python-xmlsec/actions/workflows/opensuse-tumbleweed.yml
53
+ .. image:: https://codecov.io/gh/xmlsec/python-xmlsec/branch/master/graph/badge.svg
54
+ :target: https://codecov.io/gh/xmlsec/python-xmlsec
50
55
  .. image:: https://img.shields.io/readthedocs/xmlsec/latest?logo=read-the-docs
51
56
  :target: https://xmlsec.readthedocs.io/en/latest/?badge=latest
52
57
  :alt: Documentation Status
@@ -66,7 +71,7 @@ Check the `examples <https://xmlsec.readthedocs.io/en/latest/examples.html>`_ se
66
71
  Requirements
67
72
  ************
68
73
  - ``libxml2 >= 2.9.1``
69
- - ``libxmlsec1 >= 1.2.18``
74
+ - ``libxmlsec1 >= 1.2.33``
70
75
 
71
76
  Install
72
77
  *******
@@ -165,7 +170,7 @@ Building from source
165
170
 
166
171
  .. code-block:: bash
167
172
 
168
- git clone https://github.com/mehcode/python-xmlsec.git
173
+ git clone https://github.com/xmlsec/python-xmlsec.git
169
174
 
170
175
  #. Change into the ``python-xmlsec`` root directory.
171
176
 
@@ -250,5 +255,3 @@ License
250
255
 
251
256
  Unless otherwise noted, all files contained within this project are licensed under the MIT opensource license.
252
257
  See the included ``LICENSE`` file or visit `opensource.org <http://opensource.org/licenses/MIT>`_ for more information.
253
-
254
-
@@ -3,18 +3,21 @@ python-xmlsec
3
3
 
4
4
  .. image:: https://img.shields.io/pypi/v/xmlsec.svg?logo=python&logoColor=white
5
5
  :target: https://pypi.python.org/pypi/xmlsec
6
- .. image:: https://img.shields.io/travis/com/mehcode/python-xmlsec/master.svg?logo=travis&logoColor=white&label=Travis%20CI
7
- :target: https://travis-ci.org/mehcode/python-xmlsec
6
+ .. image:: https://results.pre-commit.ci/badge/github/xmlsec/python-xmlsec/master.svg
7
+ :target: https://results.pre-commit.ci/latest/github/xmlsec/python-xmlsec/master
8
+ :alt: pre-commit.ci status
8
9
  .. image:: https://img.shields.io/appveyor/ci/hoefling/xmlsec/master.svg?logo=appveyor&logoColor=white&label=AppVeyor
9
10
  :target: https://ci.appveyor.com/project/hoefling/xmlsec
10
- .. image:: https://github.com/mehcode/python-xmlsec/workflows/manylinux2010/badge.svg
11
- :target: https://github.com/mehcode/python-xmlsec/actions?query=workflow%3A%22manylinux2010%22
12
- .. image:: https://github.com/mehcode/python-xmlsec/workflows/MacOS/badge.svg
13
- :target: https://github.com/mehcode/python-xmlsec/actions?query=workflow%3A%22MacOS%22
14
- .. image:: https://github.com/mehcode/python-xmlsec/workflows/linuxbrew/badge.svg
15
- :target: https://github.com/mehcode/python-xmlsec/actions?query=workflow%3A%22linuxbrew%22
16
- .. image:: https://codecov.io/gh/mehcode/python-xmlsec/branch/master/graph/badge.svg
17
- :target: https://codecov.io/gh/mehcode/python-xmlsec
11
+ .. image:: https://github.com/mehcode/python-xmlsec/actions/workflows/manylinux.yml/badge.svg
12
+ :target: https://github.com/mehcode/python-xmlsec/actions/workflows/manylinux.yml
13
+ .. image:: https://github.com/mehcode/python-xmlsec/actions/workflows/macosx.yml/badge.svg
14
+ :target: https://github.com/mehcode/python-xmlsec/actions/workflows/macosx.yml
15
+ .. image:: https://github.com/mehcode/python-xmlsec/actions/workflows/linuxbrew.yml/badge.svg
16
+ :target: https://github.com/mehcode/python-xmlsec/actions/workflows/linuxbrew.yml
17
+ .. image:: https://github.com/mehcode/python-xmlsec/actions/workflows/opensuse-tumbleweed.yml/badge.svg
18
+ :target: https://github.com/mehcode/python-xmlsec/actions/workflows/opensuse-tumbleweed.yml
19
+ .. image:: https://codecov.io/gh/xmlsec/python-xmlsec/branch/master/graph/badge.svg
20
+ :target: https://codecov.io/gh/xmlsec/python-xmlsec
18
21
  .. image:: https://img.shields.io/readthedocs/xmlsec/latest?logo=read-the-docs
19
22
  :target: https://xmlsec.readthedocs.io/en/latest/?badge=latest
20
23
  :alt: Documentation Status
@@ -34,7 +37,7 @@ Check the `examples <https://xmlsec.readthedocs.io/en/latest/examples.html>`_ se
34
37
  Requirements
35
38
  ************
36
39
  - ``libxml2 >= 2.9.1``
37
- - ``libxmlsec1 >= 1.2.18``
40
+ - ``libxmlsec1 >= 1.2.33``
38
41
 
39
42
  Install
40
43
  *******
@@ -133,7 +136,7 @@ Building from source
133
136
 
134
137
  .. code-block:: bash
135
138
 
136
- git clone https://github.com/mehcode/python-xmlsec.git
139
+ git clone https://github.com/xmlsec/python-xmlsec.git
137
140
 
138
141
  #. Change into the ``python-xmlsec`` root directory.
139
142
 
@@ -0,0 +1,87 @@
1
+ [tool.mypy]
2
+ files = ['src']
3
+ ignore_missing_imports = false
4
+ warn_unused_configs = true
5
+ disallow_subclassing_any = true
6
+ disallow_any_generics = true
7
+ disallow_untyped_calls = true
8
+ disallow_untyped_defs = true
9
+ disallow_incomplete_defs = true
10
+ check_untyped_defs = true
11
+ disallow_untyped_decorators = true
12
+ disallow_any_unimported = true
13
+ strict_optional = true
14
+ no_implicit_optional = true
15
+ warn_redundant_casts = true
16
+ warn_unused_ignores = true
17
+ warn_return_any = true
18
+ warn_no_return = true
19
+ no_implicit_reexport = true
20
+ show_error_codes = true
21
+
22
+ [tool.black]
23
+ line_length = 130
24
+ skip-string-normalization = true
25
+ target_version = ['py39']
26
+ include = '\.pyi?$'
27
+ exclude = '''
28
+
29
+ (
30
+ /(
31
+ \.eggs # exclude a few common directories in the
32
+ | \.git # root of the project
33
+ | \.mypy_cache
34
+ | \.tox
35
+ | build
36
+ | dist
37
+ )/
38
+ )
39
+ '''
40
+
41
+ [tool.isort]
42
+ profile = 'black'
43
+ known_first_party = ['xmlsec']
44
+ known_third_party = ['lxml', 'pytest', '_pytest', 'hypothesis']
45
+
46
+ [build-system]
47
+ requires = ['setuptools>=42', 'wheel', 'setuptools_scm[toml]>=3.4', "pkgconfig>=1.5.1", "lxml>=3.8, !=4.7.0"]
48
+
49
+ [tool.cibuildwheel]
50
+ build-verbosity = 1
51
+ build-frontend = "build"
52
+ skip = [
53
+ "pp*",
54
+ "*-musllinux_i686",
55
+ # LXML doesn't publish wheels for these platforms, which makes it
56
+ # difficult for us to build wheels, so we exclude them.
57
+ "cp36-manylinux_aarch64",
58
+ "cp37-manylinux_aarch64",
59
+ "cp36-musllinux_aarch64",
60
+ "cp37-musllinux_aarch64",
61
+ ]
62
+ test-command = "pytest -v --color=yes {package}/tests"
63
+ before-test = "pip install -r requirements-test.txt"
64
+ test-skip = "*-macosx_arm64"
65
+
66
+ [tool.cibuildwheel.environment]
67
+ PYXMLSEC_STATIC_DEPS = "true"
68
+
69
+ [tool.cibuildwheel.linux]
70
+ archs = ["x86_64", "aarch64", "i686"]
71
+ environment-pass = [
72
+ "PYXMLSEC_LIBXML2_VERSION",
73
+ "PYXMLSEC_LIBXSLT_VERSION",
74
+ "PYXMLSEC_STATIC_DEPS",
75
+ "GH_TOKEN"
76
+ ]
77
+
78
+ [tool.cibuildwheel.macos]
79
+ archs = ["x86_64", "arm64"]
80
+ before-all = "brew install perl"
81
+
82
+ [tool.cibuildwheel.windows]
83
+ archs = ["AMD64", "x86"]
84
+
85
+ [[tool.cibuildwheel.overrides]]
86
+ select = "*-manylinux*"
87
+ before-all = "yum install -y perl-core"
@@ -16,6 +16,12 @@ all_files = 1
16
16
  upload_dir = doc/build/html
17
17
 
18
18
  [flake8]
19
+ per-file-ignores =
20
+ *.pyi: E301, E302, E305, E501, E701, F401, F822
21
+ doc/source/conf.py: D1
22
+ doc/source/examples/*.py: D1, E501
23
+ tests/*.py: D1
24
+ exclude = .venv*,.git,*_pb2.pyi,build,dist,libs,.eggs,.direnv*
19
25
  max-line-length = 130
20
26
 
21
27
  [egg_info]