Ralf W. Grosse-Kunstleve
6acda67f62
Merge branch 'master' into sh_merge_master
2023-05-16 07:55:38 -07:00
Joyce
d72ffb448c
ci: set minimal permissions to github workflows ( #4665 )
...
* set ci.yml minimal permissions
Signed-off-by: Joyce <joycebrum@google.com>
* set configure.yml minimal permissions
Signed-off-by: Joyce <joycebrum@google.com>
* set format.yml minimal permissions
Signed-off-by: Joyce <joycebrum@google.com>
* set pip.yml minimal permissions
Signed-off-by: Joyce <joycebrum@google.com>
* set upstream.yml minimal permissions
Signed-off-by: Joyce <joycebrum@google.com>
* set labeler.yml minimal permissions
Signed-off-by: Joyce <joycebrum@google.com>
* Update ci.yml to read all
Signed-off-by: Joyce <joycebrum@google.com>
* test labeler.yml
Signed-off-by: Joyce <joycebrum@google.com>
* restore the if at labeler.yml
Signed-off-by: Joyce <joycebrum@google.com>
---------
Signed-off-by: Joyce <joycebrum@google.com>
2023-05-15 13:02:25 -04:00
Ralf W. Grosse-Kunstleve
44d158ca50
Merge branch 'master' into sh_merge_master
2023-01-03 19:40:01 -08:00
Aaron Gokaslan
7f23e9f3a4
chore: update clang-tidy to 15 ( #4387 )
...
* chore: update clang-tidy to 15
* Add git
* Add NOLINTNEXTLINE for assignment in if
* Update CONTRIBUTING.md
* Add NOLINTNEXTLINE where needed
* Add one more NOLINTNEXTLINE
* stl_bind: make more readable
* Another missing NOLINTNEXTLINE
* Match style elsewhere
* Apply reviewer suggestion. Mark false positive
2022-12-27 15:14:10 -05:00
Ralf W. Grosse-Kunstleve
81f5831b35
Merge branch 'master' into sh_merge_master
2022-12-20 23:43:34 -08:00
Ralf W. Grosse-Kunstleve
ece1206b8a
ci: set env: VERBOSE: 1
( #4405 )
...
* Revert "Systematically add `-DCMAKE_VERBOSE_MAKEFILE=ON` to obtain full command lines related to `-Wodr` (#4398 )"
This reverts commit ff42f5254a
.
* Set `env: VERBOSE: 1` as suggested by @henryiii
* Set `env: VERBOSE: 1` also in all other .yml files using cmake
2022-12-15 16:19:13 -05:00
Ralf W. Grosse-Kunstleve
4d774ec218
Merge branch 'master' into sh_merge_master
2022-07-21 06:53:22 -07:00
Henry Schreiner
7c3a031766
chore: bump clang-tidy to 13 ( #3997 )
...
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
2022-07-13 09:06:32 -05:00
Ralf W. Grosse-Kunstleve
27ce64fc43
Merge branch 'master' into sh_merge_master
2022-07-09 21:47:49 -07:00
dependabot[bot]
bc1f9f9ba6
chore(deps): bump actions/setup-python from 3 to 4 ( #3999 )
...
* chore(deps): bump actions/setup-python from 3 to 4
Bumps [actions/setup-python](https://github.com/actions/setup-python ) from 3 to 4.
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](https://github.com/actions/setup-python/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/setup-python
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* Apply suggestions from code review
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Henry Schreiner <HenrySchreinerIII@gmail.com>
2022-07-04 10:24:55 -04:00
Ralf W. Grosse-Kunstleve
cad2609381
Merge branch 'master' into smart_holder
2022-06-27 22:24:23 -07:00
dependabot[bot]
0e956a2e4f
chore(deps): bump pre-commit/action from 2.0.3 to 3.0.0 ( #3992 )
...
Bumps [pre-commit/action](https://github.com/pre-commit/action ) from 2.0.3 to 3.0.0.
- [Release notes](https://github.com/pre-commit/action/releases )
- [Commits](https://github.com/pre-commit/action/compare/v2.0.3...v3.0.0 )
---
updated-dependencies:
- dependency-name: pre-commit/action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-08 09:22:57 -04:00
Ralf W. Grosse-Kunstleve
2ee1e6445d
Merge branch 'master' into sh_merge_master
2022-05-02 12:41:48 -07:00
dependabot[bot]
be4a634c67
chore(deps): bump actions/checkout from 2 to 3 ( #3896 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-24 16:49:13 -04:00
dependabot[bot]
b58b772b46
chore(deps): bump actions/setup-python from 2 to 3 ( #3895 )
...
Bumps [actions/setup-python](https://github.com/actions/setup-python ) from 2 to 3.
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](https://github.com/actions/setup-python/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/setup-python
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-24 14:40:58 -04:00
Ralf W. Grosse-Kunstleve
bc2cec0783
Merge branch 'master' into sh_merge_master
2022-02-16 07:15:34 -08:00
Henry Schreiner
4b42c37191
style: pylint ( #3720 )
...
* fix: add pylint and fix issue
* chore: add pylint to pre-commit
* fix: local variable warning surfaced mistake in intree
2022-02-15 17:48:33 -05:00
Ralf W. Grosse-Kunstleve
854a95b47d
Merge branch 'master' into smart_holder
2021-06-22 15:16:14 -07:00
Ralf W. Grosse-Kunstleve
484b0f0433
Updating and slightly enhancing instructions for running clang-tidy. ( #3055 )
...
* Updating and slightly enhancing instructions for running clang-tidy.
* Making documented commands identical to workflow commands. Adding comment in workflow file pointing to documentation.
2021-06-22 15:12:58 -07:00
Ralf W. Grosse-Kunstleve
898d5b301c
Manually fixing merge conflict.
2021-06-22 12:19:40 -07:00
Aaron Gokaslan
dac74ebdf5
fix(clang-tidy): performance fixes applied in tests and CI ( #3051 )
...
* Initial fixes
* Whoops
* Finish clang-tidy manual fixes
* Add two missing fixes
* Revert
* Update clang-tidy
* Try to fix unreachable code error
* Move nolint comment
* Apply missing fix
* Don't override clang-tidy config
* Does this fix clang-tidy?
* Make all clang-tidy errors visible
* Add comments about NOLINTs and remove a few
* Fix typo
2021-06-22 12:11:54 -04:00
Ralf W. Grosse-Kunstleve
8d1e0b3903
[smart_holder] clang-tidy fixes (related to recent clang-tidy changes on master). ( #3053 )
...
* clang-tidy fixes (related to recent clang-tidy changes on master).
* More clang-tidy fixes.
2021-06-21 12:40:10 -07:00
Ralf W. Grosse-Kunstleve
7d093a1906
Merge branch 'master' into smart_holder
2021-04-21 12:36:53 -07:00
dependabot[bot]
bca4b36ba7
chore(deps): bump pre-commit/action from v2.0.2 to v2.0.3 ( #2964 )
...
Bumps [pre-commit/action](https://github.com/pre-commit/action ) from v2.0.2 to v2.0.3.
- [Release notes](https://github.com/pre-commit/action/releases )
- [Commits](https://github.com/pre-commit/action/compare/v2.0.2...9b88afc9cd57fd75b655d5c71bd38146d07135fe )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-21 15:00:00 -04:00
Ralf W. Grosse-Kunstleve
88a09988e7
Merge branch 'master' into smart_holder
2021-04-08 23:17:31 -07:00
dependabot[bot]
16c23fef31
chore(deps): bump pre-commit/action from v2.0.0 to v2.0.2 ( #2935 )
2021-04-05 22:53:59 -04:00
Ralf W. Grosse-Kunstleve
3f35af7441
Adding smart_holder branch to workflow_dispatch in all places where stable appears.
2021-03-18 11:29:22 -07:00
Robert Haschke
b72cebeb22
style: clang-tidy: modernize-use-using ( #2645 )
...
* style: clang-tidy: modernize-use-using
* style: more clang-tidy checking
Co-authored-by: Henry Schreiner <henryschreineriii@gmail.com>
2020-11-09 10:10:19 -08:00
Henry Schreiner
2a2f52201d
fix: find_import didn't work properly for classic tools ( #2550 )
...
* fix: find_import didn't work properly for classic tools
* ci: fix all files not being checked in style run
2020-10-05 15:31:00 -04:00
Henry Schreiner
fd61f5038e
feat: setup.py redesign and helpers ( #2433 )
...
* feat: setup.py redesign and helpers
* refactor: simpler design with two outputs
* refactor: helper file update and Windows support
* fix: review points from @YannickJadoul
* refactor: fixes to naming and more docs
* feat: more customization points
* feat: add entry point pybind11-config
* refactor: Try Extension-focused method
* refactor: rename alt/inplace to global
* fix: allow usage with git modules, better docs
* feat: global as an extra (@YannickJadoul's suggestion)
* feat: single version location
* fix: remove the requirement that setuptools must be imported first
* fix: some review points from @wjacob
* fix: use .in, add procedure to docs
* refactor: avoid monkeypatch copy
* docs: minor typos corrected
* fix: minor points from @YannickJadoul
* fix: typo on Windows C++ mode
* fix: MSVC 15 update 3+ have c++14 flag
See <https://docs.microsoft.com/en-us/cpp/build/reference/std-specify-language-standard-version?view=vs-2019 >
* docs: discuss making SDists by hand
* ci: use pep517.build instead of manual setup.py
* refactor: more comments from @YannickJadoul
* docs: updates from @ktbarrett
* fix: change to newly recommended tool instead of pep517.build
This was intended as a proof of concept; build seems to be the correct replacement.
See https://github.com/pypa/pep517/pull/83
* docs: updates from @wjakob
* refactor: dual version locations
* docs: typo spotted by @wjakob
2020-09-16 17:13:41 -04:00
Henry Schreiner
8dc31c7b29
style: clang-tidy: llvm-namespace-comment
2020-09-15 09:56:59 -04:00
Henry Schreiner
d8c7ee00a6
ci: GHA basic format & pre-commit ( #2309 )
2020-07-20 13:35:21 -04:00