Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Final Commits #19

Open
wants to merge 41 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
ec7a0c7
added workflows_pipeline.yml file in a scafolded branch
MahreenAthar Feb 24, 2023
24e2517
testing current workflow
MahreenAthar Feb 24, 2023
a0c7993
changed branch workflow to work on main; testing
MahreenAthar Feb 24, 2023
f468e2f
changed branch workflow to work on main; testing
MahreenAthar Feb 24, 2023
539ff2b
deleted previous workflow
MahreenAthar Feb 24, 2023
5f0be4e
workflow created
MahreenAthar Feb 24, 2023
1d238cf
workflow modified
MahreenAthar Feb 24, 2023
3b05908
modified workflow
MahreenAthar Feb 24, 2023
f4cd64e
resolving merge conflicts
MahreenAthar Feb 24, 2023
2d2d421
modified workflow
MahreenAthar Feb 24, 2023
25c3f08
Merge branch 'BranchMahreen'
MahreenAthar Feb 24, 2023
e39050d
modified workflow
MahreenAthar Feb 24, 2023
441c71d
Modified workflow
MahreenAthar Feb 24, 2023
ab9a01e
modified workflow
MahreenAthar Feb 24, 2023
92d0e0a
Merge branch 'BranchMahreen'
MahreenAthar Feb 24, 2023
15bd211
using Pylint,black & mypy instead of flake8 now
MahreenAthar Feb 24, 2023
174cec7
Resolving conflict
MahreenAthar Feb 24, 2023
c953f97
Modified Workflow
MahreenAthar Feb 24, 2023
008db7b
Modified workflow
MahreenAthar Feb 24, 2023
00e6ade
Modified Workflow
MahreenAthar Feb 24, 2023
3c3a98a
Modified workflow
MahreenAthar Feb 24, 2023
59f4c2f
Modified workflow
MahreenAthar Feb 24, 2023
35db2e1
Merge branch 'BranchMahreen'
MahreenAthar Feb 24, 2023
9221c3f
modified workflow
MahreenAthar Feb 24, 2023
05a3d7b
Merge branch 'BranchMahreen'
MahreenAthar Feb 24, 2023
6980366
modified workflow
MahreenAthar Feb 24, 2023
bdd224a
modified workflow
MahreenAthar Feb 24, 2023
e8f026c
Merge branch 'BranchMahreen'
MahreenAthar Feb 24, 2023
c09ed6e
modified workflow
MahreenAthar Feb 24, 2023
de4eae1
Merge branch 'BranchMahreen'
MahreenAthar Feb 24, 2023
cd32045
modified workflow
MahreenAthar Feb 24, 2023
1aa940a
modified workflow
MahreenAthar Feb 24, 2023
75dedc2
modified workflow
MahreenAthar Feb 24, 2023
ba63557
Pylint and Black for code quality
MahreenAthar Feb 24, 2023
ab8d7ce
added codeQL.yml file
MahreenAthar Feb 24, 2023
8611529
CodeQL.yml for analysis
MahreenAthar Feb 24, 2023
7b7a97d
CodeQL.yml for analysis
MahreenAthar Feb 24, 2023
4f85173
CodeQL.yml for security analysis
MahreenAthar Feb 24, 2023
34a828e
Final Report added
MahreenAthar Feb 24, 2023
9c962ac
updated workflow
MahreenAthar Mar 20, 2023
13056a7
updated workflow
MahreenAthar Mar 20, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions .github/workflows/CodeQL.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: "CodeQL"

on: [push]

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write

strategy:
fail-fast: false
matrix:
language: [ 'python' ]

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: CodeQL Initialization
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}

- name: Autobuild
uses: github/codeql-action/autobuild@v2

- name: CodeQL Analysis for security
uses: github/codeql-action/analyze@v2
with:
category: "/language:${{matrix.language}}"
31 changes: 31 additions & 0 deletions .github/workflows/workflow_pipeline.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# This workflow basically checks the code quality i.e the syntax of python files using pylint
# and Black

name: workflow_pipeline

on: [push]

jobs:
build:
runs-on: ubuntu-latest
name: Checking Code
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
with:
python-version: 3.x

- name: Installing dependencies
run: |
python -m pip install --upgrade pip
pip install pylint
pip install black

- name: Running pylint
run: |
find . -name '*.py' -exec pylint {} \;

- name: Running black
uses: DataDog/[email protected]
with:
fail_on_error: 'false'
Binary file added 19i1712_19i0553_Report.pdf
Binary file not shown.
3 changes: 2 additions & 1 deletion src/edit_real.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import os, pdb
import os
import pdb

import argparse
import numpy as np
Expand Down