Commit 31db3c45 authored by nimrod's avatar nimrod
Browse files

Updates.

- More pre-commit hooks.
- Fixes from said hooks.
- pipenv updates.
- pre-commit updates.
parent db1e1cab
Loading
Loading
Loading
Loading
+14 −4
Original line number Diff line number Diff line
# vim:ff=unix ts=2 sw=2 ai expandtab
---
repos:
  - repo: https://github.com/pre-commit/pre-commit-hooks
    rev: v2.2.1
    rev: v2.3.0
    hooks:
      - id: check-yaml
      - id: check-xml
      - id: check-added-large-files
      - id: check-merge-conflict
      - id: check-symlinks
      - id: trailing-whitespace
  - repo: https://github.com/adrienverge/yamllint
    rev: v1.15.0
    rev: v1.17.0
    hooks:
      - id: yamllint
  - repo: https://github.com/amperser/proselint/
    rev: 0.10.1
    hooks:
      - id: proselint
        types: [plain-text]
        exclude: LICENSE
  - repo: https://www.shore.co.il/git/docker-pre-commit
    rev: v0.3.0
    hooks:
      - id: hadolint
      - id: docker-compose
+3 −0
Original line number Diff line number Diff line
# hadolint ignore=DL3006
FROM adarnimrod/cron as supersonic

FROM python:3.7-alpine
COPY --from=supersonic /usr/local/bin/supersonic /usr/local/bin/
# hadolint ignore=DL3013
RUN pip install --no-cache-dir pipenv
COPY Pipfile* /poquita/
WORKDIR /poquita
# hadolint ignore=DL3018
RUN apk add --update --no-cache --virtual .lxml-build build-base libxslt-dev && \
    pipenv install --deploy --system && \
    apk del .lxml-build && \
+108 −125

File changed.

Preview size limit exceeded, changes collapsed.

+8 −8
Original line number Diff line number Diff line
---
version: '2'
services:
  - poquita:
  poquita:
    build:
      context: ./
    restart: on-failure