Aaron Gokaslan
f4c81e0877
maint: Add additional linter-related pre-commit hooks ( #3337 )
...
* Add additional pygrep pre-commit hooks
* Remove useless noqas with hook
* Fix all single rst backticks
* Simplify mypy pre-commit hook with upstream fixes
* Add back missing comment
* Add one last pygrep hook
4 years ago
Aaron Gokaslan
0fb981b219
Add blacken-docs and pycln pre-commit hooks ( #3292 )
...
* Apply blacken-docs and fix language-hints
* Add blacken-docs pre-commit hook
* Add pycln pre-commit hook
* Enable a few builtin hooks
* Black no longer ignores pyi files
4 years ago
Henry Schreiner
f0a65c899c
docs(fix): spelling mistake in recent commit
4 years ago
Ralf W. Grosse-Kunstleve
7472d37a93
Adding iostream.h thread-safety documentation. ( #2995 )
...
* Adding iostream.h thread-safety documentation.
* Restoring `TestThread` code with added `std::lock_guard<std::mutex>`.
* Updating new comments to reflect new information.
* Fixing up `git rebase -X theirs` accidents.
4 years ago
Henry Schreiner
6bcd220c8d
refactor: module -> module_ with typedef ( #2544 )
...
* WIP: module -> module_ without typedef
* refactor: allow py::module to work again
5 years ago
Henry Schreiner
8b40505575
Utility for redirecting C++ streams to Python ( #1009 )
8 years ago
Dean Moldovan
6d2411f1ac
Add tutorial page for embedding the interpreter
8 years ago
Dean Moldovan
076c738641
Add py::exec() as a shortcut for py::eval<py::eval_statements>()
8 years ago
Dean Moldovan
194d8b99b3
Support raw string literals as input for py::eval ( #766 )
...
* Support raw string literals as input for py::eval
* Dedent only when needed
8 years ago
Dean Moldovan
67b52d808e
Reorganize documentation
9 years ago