Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
23 changes: 23 additions & 0 deletions .github/workflows/pylint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Pylint

on: [push]

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.12.2"]
steps:
- uses: actions/checkout@v3
- 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 pylint
- name: Analysing the code with pylint
run: |
pylint $(git ls-files '*.py')
6 changes: 3 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
selenium
PyGithub
python-dotenv
PyGithub==1.58.1
python-dotenv==1.0.0
selenium==4.15.1
2 changes: 1 addition & 1 deletion windows_OS/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ create env vars :
> Github token as - "gt"
```

### setup:
### setup:
```bash
git clone "https://github.com/wikyprash/projectInitializerAutomation.git"
cd projectInitializerAutomation
Expand Down
2 changes: 1 addition & 1 deletion windows_OS/create.bat
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ cd /d %~dp0

If "%1"=="" (
echo "error"
) else (
) else (
if "%2"=="" (
python remote.py %fn% %flag%
) else (
Expand Down
2 changes: 1 addition & 1 deletion windows_OS/remote.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
os.system(c)

print(f'{foldername} created locally')
os.system('code .') # add github token to the env vars
os.system('code .')

else:
print("create <fldername>")
2 changes: 1 addition & 1 deletion windows_OS/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
PyGithub
PyGithub==2.1.1