refactor: string and setup.cfg normalization (#593)
This commit is contained in:
@@ -6,6 +6,8 @@ repos:
|
|||||||
- id: check-case-conflict
|
- id: check-case-conflict
|
||||||
- id: check-merge-conflict
|
- id: check-merge-conflict
|
||||||
- id: check-yaml
|
- id: check-yaml
|
||||||
|
- id: check-toml
|
||||||
|
- id: debug-statements
|
||||||
- id: end-of-file-fixer
|
- id: end-of-file-fixer
|
||||||
exclude: (cibuildwheel/resources/pinned_docker_images.cfg)|(.svg$)
|
exclude: (cibuildwheel/resources/pinned_docker_images.cfg)|(.svg$)
|
||||||
- id: mixed-line-ending
|
- id: mixed-line-ending
|
||||||
@@ -22,6 +24,12 @@ repos:
|
|||||||
- id: black
|
- id: black
|
||||||
files: ^bin/update_pythons.py|setup.py$
|
files: ^bin/update_pythons.py|setup.py$
|
||||||
|
|
||||||
|
- repo: https://github.com/asottile/setup-cfg-fmt
|
||||||
|
rev: v1.16.0
|
||||||
|
hooks:
|
||||||
|
- id: setup-cfg-fmt
|
||||||
|
stages: [manual]
|
||||||
|
|
||||||
- repo: https://github.com/pre-commit/mirrors-mypy
|
- repo: https://github.com/pre-commit/mirrors-mypy
|
||||||
rev: v0.812
|
rev: v0.812
|
||||||
hooks:
|
hooks:
|
||||||
@@ -54,8 +62,6 @@ repos:
|
|||||||
exclude: cibuildwheel/resources/
|
exclude: cibuildwheel/resources/
|
||||||
additional_dependencies: [flake8-bugbear]
|
additional_dependencies: [flake8-bugbear]
|
||||||
|
|
||||||
|
|
||||||
# The original pybind11 checks for a few C++ style items
|
|
||||||
- repo: local
|
- repo: local
|
||||||
hooks:
|
hooks:
|
||||||
- id: disallow-caps
|
- id: disallow-caps
|
||||||
|
|||||||
+2
-1
@@ -8,4 +8,5 @@ build-backend = "setuptools.build_meta"
|
|||||||
|
|
||||||
[tool.black]
|
[tool.black]
|
||||||
line-length = 120
|
line-length = 120
|
||||||
target-version = ['py36']
|
target-version = ['py36', 'py37', 'py38']
|
||||||
|
skip-string-normalization = true
|
||||||
|
|||||||
@@ -1,39 +1,48 @@
|
|||||||
[metadata]
|
[metadata]
|
||||||
|
|
||||||
name = cibuildwheel
|
name = cibuildwheel
|
||||||
version = 1.10.0
|
version = 1.10.0
|
||||||
description = Build Python wheels on CI with minimal configuration.
|
description = Build Python wheels on CI with minimal configuration.
|
||||||
long_description = file: README.md
|
long_description = file: README.md
|
||||||
long_description_content_type = text/markdown
|
long_description_content_type = text/markdown
|
||||||
|
url = https://github.com/joerick/cibuildwheel
|
||||||
author = Joe Rickerby
|
author = Joe Rickerby
|
||||||
author_email = joerick@mac.com
|
author_email = joerick@mac.com
|
||||||
url = https://github.com/joerick/cibuildwheel
|
|
||||||
license = BSD
|
license = BSD
|
||||||
|
license_file = LICENSE
|
||||||
classifiers =
|
classifiers =
|
||||||
|
Development Status :: 5 - Production/Stable
|
||||||
Intended Audience :: Developers
|
Intended Audience :: Developers
|
||||||
|
License :: OSI Approved :: BSD License
|
||||||
Natural Language :: English
|
Natural Language :: English
|
||||||
Programming Language :: Python :: 3
|
Programming Language :: Python :: 3
|
||||||
Development Status :: 5 - Production/Stable
|
Programming Language :: Python :: 3 :: Only
|
||||||
License :: OSI Approved :: BSD License
|
Programming Language :: Python :: 3.6
|
||||||
|
Programming Language :: Python :: 3.7
|
||||||
|
Programming Language :: Python :: 3.8
|
||||||
|
Programming Language :: Python :: 3.9
|
||||||
Programming Language :: Python :: Implementation :: CPython
|
Programming Language :: Python :: Implementation :: CPython
|
||||||
Topic :: Software Development :: Build Tools
|
Topic :: Software Development :: Build Tools
|
||||||
|
keywords = ci,wheel,packaging,pypi,travis,appveyor,macos,linux,windows
|
||||||
project_urls =
|
project_urls =
|
||||||
Changelog=https://github.com/joerick/cibuildwheel#changelog
|
Changelog=https://github.com/joerick/cibuildwheel#changelog
|
||||||
Documentation=https://cibuildwheel.readthedocs.io/
|
Documentation=https://cibuildwheel.readthedocs.io/
|
||||||
keywords = ci,wheel,packaging,pypi,travis,appveyor,macos,linux,windows
|
|
||||||
|
|
||||||
[options]
|
[options]
|
||||||
packages = find:
|
packages = find:
|
||||||
zip_safe = False
|
|
||||||
include_package_data = True
|
|
||||||
python_requires = >=3.6
|
|
||||||
install_requires =
|
install_requires =
|
||||||
bashlex!=0.13
|
bashlex!=0.13
|
||||||
toml
|
|
||||||
certifi
|
|
||||||
bracex
|
bracex
|
||||||
|
certifi
|
||||||
packaging
|
packaging
|
||||||
typing_extensions; python_version < '3.8'
|
toml
|
||||||
|
typing_extensions;python_version < '3.8'
|
||||||
|
python_requires = >=3.6
|
||||||
|
include_package_data = True
|
||||||
|
zip_safe = False
|
||||||
|
|
||||||
|
[options.entry_points]
|
||||||
|
console_scripts =
|
||||||
|
cibuildwheel = cibuildwheel.__main__:main
|
||||||
|
|
||||||
[options.package_data]
|
[options.package_data]
|
||||||
cibuildwheel = resources/*
|
cibuildwheel = resources/*
|
||||||
@@ -42,28 +51,23 @@ cibuildwheel = resources/*
|
|||||||
include =
|
include =
|
||||||
cibuildwheel
|
cibuildwheel
|
||||||
|
|
||||||
[options.entry_points]
|
|
||||||
console_scripts =
|
|
||||||
cibuildwheel = cibuildwheel.__main__:main
|
|
||||||
|
|
||||||
|
|
||||||
[flake8]
|
[flake8]
|
||||||
ignore = E501,W503,E741,E226,B950
|
ignore = E501,W503,E741,E226,B950
|
||||||
select = C,E,F,W,B,B9
|
select = C,E,F,W,B,B9
|
||||||
application-import-names = cibuildwheel
|
application-import-names = cibuildwheel
|
||||||
exclude =
|
exclude =
|
||||||
cibuildwheel/resources/,
|
cibuildwheel/resources/,
|
||||||
dist/,
|
dist/,
|
||||||
build/,
|
build/,
|
||||||
.git/,
|
.git/,
|
||||||
env/,
|
env/,
|
||||||
env2/,
|
env2/,
|
||||||
env??/,
|
env??/,
|
||||||
.venv/,
|
.venv/,
|
||||||
site/
|
site/
|
||||||
|
|
||||||
[tool:pytest]
|
[tool:pytest]
|
||||||
junit_family=xunit2
|
junit_family = xunit2
|
||||||
testpaths =
|
testpaths =
|
||||||
test
|
test
|
||||||
unit_test
|
unit_test
|
||||||
@@ -113,5 +117,5 @@ ignore_missing_imports = True
|
|||||||
ignore_missing_imports = True
|
ignore_missing_imports = True
|
||||||
|
|
||||||
[tool:isort]
|
[tool:isort]
|
||||||
profile=black
|
profile = black
|
||||||
multi_line_output=3
|
multi_line_output = 3
|
||||||
|
|||||||
Reference in New Issue
Block a user