Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
pybind11
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open
pybind11
Commits
11e12fe4
Commit
11e12fe4
authored
Jul 12, 2021
by
Henry Schreiner
Committed by
Henry Schreiner
Jul 12, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: move some config to pyproject.toml
parent
84fdadfb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
32 additions
and
31 deletions
+32
-31
pyproject.toml
+32
-0
setup.cfg
+0
-31
No files found.
pyproject.toml
View file @
11e12fe4
[build-system]
[build-system]
requires
=
[
"setuptools>=42"
,
"wheel"
,
"cmake>=3.18"
,
"ninja"
]
requires
=
[
"setuptools>=42"
,
"wheel"
,
"cmake>=3.18"
,
"ninja"
]
build-backend
=
"setuptools.build_meta"
build-backend
=
"setuptools.build_meta"
[tool.check-manifest]
ignore
=
[
"tests/**"
,
"docs/**"
,
"tools/**"
,
"include/**"
,
".*"
,
"pybind11/include/**"
,
"pybind11/share/**"
,
"CMakeLists.txt"
,
"noxfile.py"
,
]
[tool.mypy]
files
=
"pybind11"
python_version
=
"2.7"
warn_unused_configs
=
true
disallow_any_generics
=
true
disallow_subclassing_any
=
true
disallow_untyped_calls
=
true
disallow_untyped_defs
=
true
disallow_incomplete_defs
=
true
check_untyped_defs
=
true
disallow_untyped_decorators
=
true
no_implicit_optional
=
true
warn_redundant_casts
=
true
warn_unused_ignores
=
true
warn_return_any
=
true
no_implicit_reexport
=
true
strict_equality
=
true
setup.cfg
View file @
11e12fe4
...
@@ -37,18 +37,6 @@ zip_safe = False
...
@@ -37,18 +37,6 @@ zip_safe = False
[bdist_wheel]
[bdist_wheel]
universal=1
universal=1
[check-manifest]
ignore =
tests/**
docs/**
tools/**
include/**
.*
pybind11/include/**
pybind11/share/**
CMakeLists.txt
noxfile.py
[flake8]
[flake8]
max-line-length = 99
max-line-length = 99
...
@@ -62,25 +50,6 @@ ignore =
...
@@ -62,25 +50,6 @@ ignore =
# Black conflict
# Black conflict
W503, E203
W503, E203
[mypy]
files = pybind11
python_version = 2.7
warn_unused_configs = True
# Currently (0.800) identical to --strict
disallow_any_generics = True
disallow_subclassing_any = True
disallow_untyped_calls = True
disallow_untyped_defs = True
disallow_incomplete_defs = True
check_untyped_defs = True
disallow_untyped_decorators = True
no_implicit_optional = True
warn_redundant_casts = True
warn_unused_ignores = True
warn_return_any = True
no_implicit_reexport = True
strict_equality = True
[tool:pytest]
[tool:pytest]
timeout = 300
timeout = 300
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment