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

fix: linting issue fix #173

Open
wants to merge 30 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
1fa5207
Bump rollup from 3.29.4 to 3.29.5 in /frontend
dependabot[bot] Sep 27, 2024
ef76a9e
Bump aiohttp from 3.10.5 to 3.10.11
dependabot[bot] Nov 18, 2024
49728ba
linting_resolution
UtkarshMishra-Microsoft Dec 11, 2024
cb415dc
linting_resolution
UtkarshMishra-Microsoft Dec 11, 2024
99e1a9b
linting_implemented
UtkarshMishra-Microsoft Dec 11, 2024
d74672a
YML file updation
UtkarshMishra-Microsoft Dec 12, 2024
465ffd5
YML file updation
UtkarshMishra-Microsoft Dec 12, 2024
d29bbcd
YML file updation
UtkarshMishra-Microsoft Dec 12, 2024
508aa85
YML file updation
UtkarshMishra-Microsoft Dec 12, 2024
d62e306
YML file updation
UtkarshMishra-Microsoft Dec 12, 2024
99732a5
YML file updation
UtkarshMishra-Microsoft Dec 12, 2024
bc11003
Linting fixes
UtkarshMishra-Microsoft Dec 12, 2024
8225586
Add linting configuration files
UtkarshMishra-Microsoft Dec 13, 2024
0ac4108
Delete .flake8
UtkarshMishra-Microsoft Dec 13, 2024
a75f3f6
Delete .github/workflows/pylint.yml
UtkarshMishra-Microsoft Dec 13, 2024
70990de
Delete .pylintrc
UtkarshMishra-Microsoft Dec 13, 2024
c754df9
changes in files
UtkarshMishra-Microsoft Dec 13, 2024
a444887
Added PR title checker GitHub Actions workflow
Prasanjeet-Microsoft Dec 18, 2024
ac64505
Merge pull request #121 from microsoft/three-files-branch
UtkarshMishra-Microsoft Dec 19, 2024
fe5d3ec
Merge pull request #119 from microsoft/Linting-fixes
UtkarshMishra-Microsoft Dec 19, 2024
62817dc
Merge pull request #126 from Prasanjeet-Microsoft/Adding_pr-title-che…
Avijit-Microsoft Dec 19, 2024
8e6af4a
Merge pull request #102 from microsoft/dependabot/pip/aiohttp-3.10.11
Roopan-Microsoft Dec 26, 2024
c647aa1
Merge pull request #75 from microsoft/dependabot/npm_and_yarn/fronten…
Roopan-Microsoft Dec 26, 2024
ccd6d31
Revert "Bump aiohttp from 3.10.5 to 3.10.11"
Roopan-Microsoft Dec 26, 2024
46b20c9
Revert "Bump rollup from 3.29.4 to 3.29.5 in /frontend"
Roopan-Microsoft Dec 26, 2024
5d8eaa1
Merge pull request #151 from microsoft/revert-75-dependabot/npm_and_y…
Roopan-Microsoft Dec 26, 2024
5b103e7
Merge pull request #150 from microsoft/revert-102-dependabot/pip/aioh…
Roopan-Microsoft Dec 26, 2024
6d7e428
Linting-files
UtkarshMishra-Microsoft Dec 27, 2024
77615a1
lint issue fix
AjitPadhi-Microsoft Dec 27, 2024
558fd00
updated pynlint workflow
AjitPadhi-Microsoft Dec 27, 2024
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
5 changes: 5 additions & 0 deletions .flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[flake8]
max-line-length = 88
extend-ignore = E501
exclude = venv, frontend
ignore = E203, W503
22 changes: 22 additions & 0 deletions .github/workflows/pr-title-checker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: "pr-title-checker"

on:
pull_request_target:
types:
- opened
- edited
- synchronize
merge_group:

permissions:
pull-requests: read

jobs:
main:
name: Validate PR title
runs-on: ubuntu-latest
if: ${{ github.event_name != 'merge_group' }}
steps:
- uses: amannn/action-semantic-pull-request@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
33 changes: 33 additions & 0 deletions .github/workflows/pylint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Code Quality Workflow

on: [push]

jobs:
lint:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11"]

steps:
# Step 1: Checkout code
- name: Checkout code
uses: actions/checkout@v4

# Step 2: Set up Python environment
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements-dev.txt

# Step 3: Run all code quality checks
- name: Pylint
run: |
echo "Running Pylint..."
python -m flake8 --config=.flake8 --verbose .

Loading
Loading