الملفات
Complete-CI-CD-Project-pipe…/.pre-commit-config.yaml
ahmedgamalyousef c3017c5bf4
فشلت بعض الفحوصات
CI/CD Pipeline - Weather App 🌤️ / test (push) Has been cancelled
CI/CD Pipeline - Weather App 🌤️ / build_and_push_image (push) Has been cancelled
CI/CD Pipeline - Weather App 🌤️ / deploy (push) Has been cancelled
Creating Pre-commit file & Adding workflow Testing
2025-10-14 19:49:50 +03:00

28 أسطر
660 B
YAML

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
- id: check-merge-conflict
- id: check-ast
- repo: https://github.com/psf/black
rev: 23.9.1
hooks:
- id: black
args: [--line-length=88]
- repo: https://github.com/pycqa/flake8
rev: 6.1.0
hooks:
- id: flake8
args: [--max-line-length=88, --extend-ignore=E203,W503]
- repo: https://github.com/pycqa/isort
rev: 5.12.0
hooks:
- id: isort
args: ["--profile", "black"]