Skip to content
Snippets Groups Projects
Select Git revision
  • 6ea3aabbb6bac68bfde23a75a5c17bca5ce6e344
  • master default
  • renovate/django-split-settings-1.x
  • renovate/djangorestframework-3.x
  • main
  • 520-improve-trackmanager
  • 520-fix-scheduling
  • 520-akowner
  • 520-status
  • 520-message-resolved
  • 520-improve-scheduling-2
  • renovate/django-bootstrap5-24.x
  • 520-improve-submission
  • 520-improve-scheduling
  • 520-improve-wall
  • 520-fix-event-wizard-datepicker
  • 520-upgrades
  • renovate/tzdata-2023.x
  • renovate/django-5.x
  • renovate/fontawesomefree-6.x
  • renovate/sphinx-rtd-theme-2.x
  • renovate/sphinxcontrib-apidoc-0.x
22 results

pylintrc

Blame
  • Forked from KIF / AKPlanning
    Source project has a limited visibility.
    Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    check.sh 717 B
    #!/usr/bin/env bash
    # Check the AKPlanning setup for potential problems
    # execute as Utils/check.sh
    
    # activate virtualenv when necessary
    if [ -z ${VIRTUAL_ENV+x} ]; then
        source venv/bin/activate
    fi
    
    # enable really all warnings, some of them are silenced by default
    for arg in "$@"; do
        if [[ "$arg" == "--all" ]]; then
            export PYTHONWARNINGS=all
        fi
    done
    
    # in case of checking production setup
    for arg in "$@"; do
        if [[ "$arg" == "--prod" ]]; then
          export DJANGO_SETTINGS_MODULE=AKPlanning.settings_production
          ./manage.py check --deploy
          ./manage.py makemigrations --dry-run --check
        fi
    done
    
    # check the setup
    ./manage.py check
    ./manage.py makemigrations --dry-run --check