This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Audit reqs | |
on: | |
schedule: | |
# 10am PST/ 1pm EST / 5pm UTC Monday & Thursday | |
- cron: 0 17 * * MON,THU | |
jobs: | |
audit-python: | |
name: Audit python packages | |
runs-on: ubuntu-20.04 | |
strategy: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM python:3.9.12-slim-buster@sha256:62ed2b347a385102d33f5e82530862359f8dc60464674d78cef844b02d150a50 | |
ARG PANTS_VERSION=2.12.0 | |
RUN apt-get update && \ | |
apt-get install --no-install-recommends -y \ | |
curl git unzip gcc libssl-dev bash && \ | |
apt-get clean && rm -rf /var/lib/apt/lists/* && \ | |
groupadd --gid 99 kramer && useradd -m --no-log-init --uid 99 --gid 99 kramer | |
USER kramer:kramer |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ToolchainSetupKwargsRequest(SetupKwargsRequest): | |
@classmethod | |
def is_applicable(cls, _: Target) -> bool: | |
return True | |
@rule | |
async def toolchain_setup_plugin(request: ToolchainSetupKwargsRequest) -> SetupKwargs: | |
explicit_kwargs = request.explicit_kwargs |