python-wpiformat-git
maintainer calcmogul
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The pip installs in check() and package() are for clang-format and clang-tidy, which are legitimate dependencies; they are not obfuscated or malicious, and the package builds from a trusted project-owned git repository.
Triggered rules
LOW
pip install of an external package
pip_install_external
`pip install <package>` fetches an unpinned package from PyPI at build time, outside source=() and makepkg's checksums. Severity reduced: python-* packages routinely use pip.
-
PKGBUILD:42
test-env/bin/pip install clang-format clang-tidy -
PKGBUILD:49
pip install clang-format clang-tidy --no-deps --root ${pkgdir} --ignore-installed
LOW
AI review
llm_review
An AI model (qwen/qwen3-235b-a22b-2507) reviewed this and agrees it is LOW (confidence 95%): The pip installs in check() and package() are for clang-format and clang-tidy, which are legitimate dependencies; they are not obfuscated or malicious, and the package builds from a trusted project-owned git repository.
PKGBUILD
2 offending line(s) highlighted
1
# Maintainer: Tyler Veness <calcmogul at gmail dot com>
2
3
pkgname=python-wpiformat-git
4
pkgver=2026.67
5
pkgrel=1
6
pkgdesc="Linters and formatters for ensuring WPILib's source code conforms to its style guide"
7
arch=('i686' 'x86_64')
8
url="https://github.com/wpilibsuite/styleguide"
9
license=('BSD-3-Clause')
10
depends=('clang'
11
'python-cpplint'
12
'python-gersemi'
13
'python-ruff')
14
makedepends=('python-build'
15
'python-installer'
16
'python-pytest'
17
'python-setuptools-git-versioning')
18
provides=('python-wpiformat')
19
conflicts=('python-wpiformat')
20
source=(git+https://github.com/wpilibsuite/styleguide)
21
sha256sums=('SKIP')
22
23
pkgver() {
24
cd "${srcdir}/styleguide"
25
year=$(date +%Y)
26
echo $year.$(git rev-list --count --after="main@{$(($year - 1))-01-01}" main)
27
}
28
29
prepare() {
30
cd "${srcdir}/styleguide/wpiformat"
31
sed -i 's/==[0-9]\+\.[0-9]\+\.[0-9]\+//' pyproject.toml
32
}
33
34
build() {
35
cd "${srcdir}/styleguide/wpiformat"
36
python -m build --wheel
37
}
38
39
check() {
40
cd "${srcdir}/styleguide/wpiformat"
41
python -m venv --system-site-packages test-env
42
test-env/bin/pip install clang-format clang-tidy
43
test-env/bin/pip install dist/*.whl --no-deps
44
test-env/bin/python -P -m pytest
45
}
46
47
package() {
48
cd "${srcdir}/styleguide/wpiformat"
49
pip install clang-format clang-tidy --no-deps --root ${pkgdir} --ignore-installed
50
python -m installer --destdir="$pkgdir" dist/*.whl
51
52
# Remove binaries already provided by clang package
53
cd "${pkgdir}/usr/bin"
54
find . -type f -not -name wpiformat -delete
55
}
56
Changes since previous scan
--- PKGBUILD @ 2026-07-21 00:24+++ PKGBUILD @ 2026-08-03 00:08@@ -1,18 +1,16 @@ # Maintainer: Tyler Veness <calcmogul at gmail dot com> pkgname=python-wpiformat-git-pkgver=2025.78+pkgver=2026.67 pkgrel=1 pkgdesc="Linters and formatters for ensuring WPILib's source code conforms to its style guide" arch=('i686' 'x86_64') url="https://github.com/wpilibsuite/styleguide" license=('BSD-3-Clause') depends=('clang'- 'python-autoflake'- 'python-black' 'python-cpplint' 'python-gersemi'- 'python-isort')+ 'python-ruff') makedepends=('python-build' 'python-installer' 'python-pytest'@@ -51,8 +49,8 @@ pip install clang-format clang-tidy --no-deps --root ${pkgdir} --ignore-installed python -m installer --destdir="$pkgdir" dist/*.whl - # Remove duplicates already provided by clang package+ # Remove binaries already provided by clang package cd "${pkgdir}/usr/bin"- rm clang-format clang-tidy git-clang-format+ find . -type f -not -name wpiformat -delete } Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-03 00:08:14 | LOW | 2 |
| 2026-08-02 00:16:08 | LOW | 2 |
| 2026-08-01 00:11:18 | LOW | 2 |
| 2026-07-31 00:14:10 | LOW | 2 |
| 2026-07-30 00:17:23 | LOW | 2 |
| 2026-07-29 00:25:53 | LOW | 2 |
| 2026-07-28 00:07:28 | LOW | 2 |
| 2026-07-27 00:24:32 | LOW | 2 |
| 2026-07-26 00:07:32 | LOW | 2 |
| 2026-07-25 00:13:44 | LOW | 2 |
| 2026-07-24 00:02:28 | LOW | 2 |
| 2026-07-23 00:14:47 | LOW | 2 |
| 2026-07-22 00:29:32 | LOW | 2 |
| 2026-07-21 21:18:19 | LOW | 2 |
| 2026-07-21 00:24:15 | LOW | 2 |
| 2026-07-20 00:19:49 | LOW | 2 |
| 2026-07-19 00:17:08 | LOW | 2 |
| 2026-07-18 00:14:48 | LOW | 2 |
| 2026-07-17 00:06:16 | LOW | 2 |
| 2026-07-16 00:05:41 | LOW | 2 |