Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…tection-Ai into Alpha-b
  • Loading branch information
Aydinhamedi committed Mar 24, 2024
2 parents 1b8cf06 + 579dd45 commit c4e5a2b
Show file tree
Hide file tree
Showing 16 changed files with 2,973 additions and 6,654 deletions.
41 changes: 0 additions & 41 deletions .github/workflows/python-app.yml

This file was deleted.

39 changes: 0 additions & 39 deletions .github/workflows/python-app_Alpha-b.yml

This file was deleted.

38 changes: 0 additions & 38 deletions .github/workflows/python-app_Beta-b.yml

This file was deleted.

28 changes: 28 additions & 0 deletions .github/workflows/ruff_L&F-Alpha.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Main
name: Ruff - Alpha

on:
push:
branches: [ "Alpha-b" ]

jobs:
Ruff:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install ruff
- name: Lint with ruff
run: |
ruff check . --fix --show-fixes
- name: Format with ruff
run: |
ruff format . --preview --line-length 140
28 changes: 28 additions & 0 deletions .github/workflows/ruff_L&F-Beta.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Main
name: Ruff - Beta

on:
push:
branches: [ "Beta-b" ]

jobs:
Ruff:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install ruff
- name: Lint with ruff
run: |
ruff check . --fix --show-fixes
- name: Format with ruff
run: |
ruff format . --preview --line-length 140
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python

name: Ruff
# Main
name: Ruff - Main

on:
push:
branches: [ "main", "Alpha-b", "Beta-b" ]
branches: [ "main" ]
pull_request:
branches: [ "main" ]

Expand Down
8 changes: 6 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,13 @@ Samples/*
/Temp
/Test.md
/Interface/GUI/Data/model_info.json
/ruff_check_results.txt
/ruff_format_results.txt
/Load_Backup.py

# Exclude backup load
/Backup_*_COPY.ipynb
/ruff_check_results.txt
/ruff_format_results.txt

# Temp
/history/Archive
/Test_ENV_G.ipynb
Loading

0 comments on commit c4e5a2b

Please sign in to comment.