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

Dev to main; package upgrades #120

Merged
merged 83 commits into from
Mar 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
83 commits
Select commit Hold shift + click to select a range
6e6d508
Bump black from 23.9.0 to 23.9.1
dependabot[bot] Sep 11, 2023
a2c9ed1
Bump pdoc from 14.0.0 to 14.1.0
dependabot[bot] Sep 11, 2023
1439cc3
Merge pull request #86 from ashu-tosh-kumar/dependabot/pip/black-23.9.1
ashu-tosh-kumar Sep 11, 2023
4fd7771
Merge pull request #87 from ashu-tosh-kumar/dependabot/pip/pdoc-14.1.0
ashu-tosh-kumar Sep 11, 2023
d1e4a51
Bump gitpython from 3.1.35 to 3.1.37
dependabot[bot] Sep 25, 2023
81cb284
Merge pull request #89 from ashu-tosh-kumar/dependabot/pip/gitpython-…
ashu-tosh-kumar Sep 25, 2023
09784e2
Bump coverage from 7.3.1 to 7.3.2
dependabot[bot] Oct 9, 2023
3e29a17
Merge pull request #90 from ashu-tosh-kumar/dependabot/pip/coverage-7…
ashu-tosh-kumar Oct 12, 2023
b1e1a70
Bump pre-commit from 3.4.0 to 3.5.0
dependabot[bot] Oct 16, 2023
f7b2423
Bump gitpython from 3.1.37 to 3.1.40
dependabot[bot] Oct 23, 2023
1381422
Bump black from 23.9.1 to 23.10.0
dependabot[bot] Oct 23, 2023
3e2e5b9
Merge pull request #93 from ashu-tosh-kumar/dependabot/pip/black-23.10.0
ashu-tosh-kumar Oct 25, 2023
18a9765
Merge pull request #92 from ashu-tosh-kumar/dependabot/pip/gitpython-…
ashu-tosh-kumar Oct 25, 2023
4bdb071
Merge pull request #91 from ashu-tosh-kumar/dependabot/pip/pre-commit…
ashu-tosh-kumar Oct 25, 2023
c4a0ad0
Bump black from 23.10.0 to 23.10.1
dependabot[bot] Oct 30, 2023
ce26567
Bump pytest from 7.4.2 to 7.4.3
dependabot[bot] Oct 30, 2023
86bf066
Merge pull request #95 from ashu-tosh-kumar/dependabot/pip/pytest-7.4.3
ashu-tosh-kumar Oct 31, 2023
b3b0e69
Merge pull request #94 from ashu-tosh-kumar/dependabot/pip/black-23.10.1
ashu-tosh-kumar Oct 31, 2023
7d6bc01
Bump black from 23.10.1 to 23.11.0
dependabot[bot] Nov 13, 2023
0b53ad4
Merge pull request #96 from ashu-tosh-kumar/dependabot/pip/black-23.11.0
ashu-tosh-kumar Nov 13, 2023
6e75ac6
Bump pdoc from 14.1.0 to 14.2.0
dependabot[bot] Dec 18, 2023
a1fa039
Bump coverage from 7.3.2 to 7.3.3
dependabot[bot] Dec 18, 2023
1661c41
Merge pull request #100 from ashu-tosh-kumar/dependabot/pip/coverage-…
ashu-tosh-kumar Dec 24, 2023
5189af6
Merge pull request #99 from ashu-tosh-kumar/dependabot/pip/pdoc-14.2.0
ashu-tosh-kumar Dec 24, 2023
ff13e78
Bump black from 23.11.0 to 23.12.1
dependabot[bot] Dec 24, 2023
bf3d304
Bump pdoc from 14.2.0 to 14.3.0
dependabot[bot] Dec 24, 2023
8991981
Merge pull request #102 from ashu-tosh-kumar/dependabot/pip/black-23.…
ashu-tosh-kumar Dec 24, 2023
1eb0ced
Merge pull request #101 from ashu-tosh-kumar/dependabot/pip/pdoc-14.3.0
ashu-tosh-kumar Dec 24, 2023
285fae3
Bump pre-commit from 3.5.0 to 3.6.0
dependabot[bot] Dec 24, 2023
7213cd0
Merge pull request #97 from ashu-tosh-kumar/dependabot/pip/pre-commit…
ashu-tosh-kumar Dec 24, 2023
7e82e59
Bump coverage from 7.3.3 to 7.3.4
dependabot[bot] Dec 25, 2023
e4957c4
Merge pull request #103 from ashu-tosh-kumar/dependabot/pip/coverage-…
ashu-tosh-kumar Dec 25, 2023
728e294
Bump pytest from 7.4.3 to 7.4.4
dependabot[bot] Jan 1, 2024
4463e06
Bump flake8 from 6.1.0 to 7.0.0
dependabot[bot] Jan 8, 2024
7d1b453
Merge pull request #106 from ashu-tosh-kumar/dependabot/pip/flake8-7.0.0
ashu-tosh-kumar Jan 9, 2024
bd7212d
Bump coverage from 7.3.4 to 7.4.0
dependabot[bot] Jan 9, 2024
7c3b6dd
Merge pull request #105 from ashu-tosh-kumar/dependabot/pip/coverage-…
ashu-tosh-kumar Jan 9, 2024
408b6f7
Merge pull request #104 from ashu-tosh-kumar/dependabot/pip/pytest-7.4.4
ashu-tosh-kumar Jan 9, 2024
fc69f33
Bump pdoc from 14.3.0 to 14.4.0
dependabot[bot] Jan 22, 2024
a47ba8a
Merge pull request #108 from ashu-tosh-kumar/dependabot/pip/pdoc-14.4.0
ashu-tosh-kumar Jan 22, 2024
c8c4580
Bump gitpython from 3.1.40 to 3.1.41
dependabot[bot] Jan 22, 2024
74e20b7
Merge pull request #107 from ashu-tosh-kumar/dependabot/pip/gitpython…
ashu-tosh-kumar Jan 22, 2024
ebe0fb6
Bump pytest from 7.4.4 to 8.0.0
dependabot[bot] Jan 29, 2024
c18051e
Bump black from 23.12.1 to 24.1.1
dependabot[bot] Jan 29, 2024
a964e3c
Merge pull request #109 from ashu-tosh-kumar/dependabot/pip/pytest-8.0.0
ashu-tosh-kumar Jan 29, 2024
f89f1f5
Merge pull request #110 from ashu-tosh-kumar/dependabot/pip/black-24.1.1
ashu-tosh-kumar Jan 29, 2024
f2d44d1
Bump coverage from 7.4.0 to 7.4.1
dependabot[bot] Jan 29, 2024
3cf0aaf
Merge pull request #111 from ashu-tosh-kumar/dependabot/pip/coverage-…
ashu-tosh-kumar Jan 29, 2024
b403101
add ko-fi
ashu-tosh-kumar Feb 11, 2024
74f0c93
Merge pull request #112 from ashu-tosh-kumar/add-ko-fi
ashu-tosh-kumar Feb 11, 2024
b6ff9e9
update ko-fi
ashu-tosh-kumar Feb 11, 2024
07347aa
Merge pull request #113 from ashu-tosh-kumar/add-ko-fi
ashu-tosh-kumar Feb 11, 2024
781cb9d
Bump pre-commit from 3.6.0 to 3.6.1
dependabot[bot] Feb 12, 2024
f886219
Merge pull request #114 from ashu-tosh-kumar/dependabot/pip/pre-commi…
ashu-tosh-kumar Feb 12, 2024
687a32c
add more funding options
ashu-tosh-kumar Feb 17, 2024
d0f5887
remove kofi
ashu-tosh-kumar Feb 17, 2024
704f87b
Merge pull request #115 from ashu-tosh-kumar/integrate-more-sponsor-o…
ashu-tosh-kumar Feb 17, 2024
f2b065d
Bump gitpython from 3.1.41 to 3.1.42
dependabot[bot] Feb 19, 2024
f42cc1b
Bump pytest from 8.0.0 to 8.0.1
dependabot[bot] Feb 19, 2024
0de22f6
Merge pull request #116 from ashu-tosh-kumar/dependabot/pip/gitpython…
ashu-tosh-kumar Feb 19, 2024
a40c63f
Merge pull request #117 from ashu-tosh-kumar/dependabot/pip/pytest-8.0.1
ashu-tosh-kumar Feb 19, 2024
050880d
Bump pre-commit from 3.6.1 to 3.6.2
dependabot[bot] Feb 19, 2024
78fd802
Bump black from 24.1.1 to 24.2.0
dependabot[bot] Feb 19, 2024
fec536b
Merge pull request #119 from ashu-tosh-kumar/dependabot/pip/pre-commi…
ashu-tosh-kumar Feb 19, 2024
36e405d
Merge pull request #118 from ashu-tosh-kumar/dependabot/pip/black-24.2.0
ashu-tosh-kumar Feb 19, 2024
e893819
update .gitignore
ashu-tosh-kumar Mar 17, 2024
cb8b5bc
pre-commit package upgrades
ashu-tosh-kumar Mar 17, 2024
03b68bf
minor update to user_driver file
ashu-tosh-kumar Mar 17, 2024
a768e4b
commit .report/ for tracking and easy identification of changes leadi…
ashu-tosh-kumar Mar 17, 2024
c22316b
move to pyproject.toml for project build and dependency management; u…
ashu-tosh-kumar Mar 17, 2024
e97fdc7
Merge pull request #126 from ashu-tosh-kumar/move-to-poetry-build
ashu-tosh-kumar Mar 17, 2024
8bc1040
update workflows
ashu-tosh-kumar Mar 17, 2024
8618ede
add python 3.12 also for build test for ensure compatibility with new…
ashu-tosh-kumar Mar 17, 2024
dddc06d
add isort setting to pyproject.toml
ashu-tosh-kumar Mar 17, 2024
a4fbf13
update python-app.yml workflow
ashu-tosh-kumar Mar 17, 2024
431629b
update python-app
ashu-tosh-kumar Mar 17, 2024
bc8cf06
update python-app.yml
ashu-tosh-kumar Mar 17, 2024
152b930
update python-app.yml
ashu-tosh-kumar Mar 17, 2024
3b98678
fix python-app.yml
ashu-tosh-kumar Mar 17, 2024
0b3603e
fix python-app.yml
ashu-tosh-kumar Mar 17, 2024
9aea055
fix python-app.yml
ashu-tosh-kumar Mar 17, 2024
6d8a407
Merge branch 'fix-github-workflows-to-use-poetry' of github.com:ashu-…
ashu-tosh-kumar Mar 17, 2024
d10b28c
Merge pull request #127 from ashu-tosh-kumar/fix-github-workflows-to-…
ashu-tosh-kumar Mar 17, 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
3 changes: 3 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
github: [ashu-tosh-kumar]
custom:
["https://paypal.me/ashutkumar", "https://www.buymeacoffee.com/ashutoshkumar"]
4 changes: 2 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.11"
python-version: "3.9"

# ADJUST THIS: install all dependencies (including pdoc)
- run: pip install -r requirements.txt
- run: pip install poetry; poetry install
# ADJUST THIS: build your documentation into docs/.
# We use a custom build script for pdoc itself, ideally you just run `pdoc -o docs/ ...` here.
- run: pdoc -o docs --docformat google --logo https://user-images.githubusercontent.com/37182127/233436178-26c2b4be-e630-4f9b-b4c9-d58424bd365d.png todonotifier/
Expand Down
86 changes: 64 additions & 22 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,35 +5,77 @@ name: Python application

on:
push:
branches: [ "main" ]
branches: ["main", "development"]
pull_request:
branches: [ "main" ]
branches: ["main", "development"]

permissions:
contents: read

jobs:
build:
build3_9:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Set up Python 3.9
uses: actions/setup-python@v3
with:
python-version: "3.9"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install poetry
pip install poetry
poetry export -f requirements.txt --with dev>> requirements.txt
pip install -r requirements.txt
- name: Lint with flake8
run: |
python -m pip install --upgrade pip
pip install poetry
poetry export -f requirements.txt --with dev >> requirements.txt
pip install -r requirements.txt
# stop the build if there are Python syntax errors or undefined names
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics --config ./tox.ini
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics --config ./tox.ini
- name: Test with pytest
run: |
python -m pip install --upgrade pip
pip install poetry
poetry export -f requirements.txt --with dev >> requirements.txt
pip install -r requirements.txt
pytest

build3_11:
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 flake8 pytest
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Test with pytest
run: |
pytest
- uses: actions/checkout@v3
- name: Set up Python 3.12
uses: actions/setup-python@v3
with:
python-version: "3.12"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install poetry
poetry export -f requirements.txt --with dev >> requirements.txt
pip install -r requirements.txt
- name: Lint with flake8
run: |
python -m pip install --upgrade pip
pip install poetry
poetry export -f requirements.txt --with dev >> requirements.txt
pip install -r requirements.txt
# stop the build if there are Python syntax errors or undefined names
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics --config ./tox.ini
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics --config ./tox.ini
- name: Test with pytest
run: |
python -m pip install --upgrade pip
pip install poetry
poetry export -f requirements.txt --with dev >> requirements.txt
pip install -r requirements.txt
pytest
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ __pycache__/
*$py.class

# User specific code
.report
.DS_STORE

# VS Code
Expand Down Expand Up @@ -137,4 +136,5 @@ dmypy.json
.pyre/

# local user directories
.local
.local/
.scannerwork/
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
repos:
- repo: https://github.com/psf/black
rev: 23.7.0
rev: 24.3.0
hooks:
- id: black
args: [--config=./pyproject.toml]
language_version: python3.11

- repo: https://github.com/pycqa/flake8
rev: 6.0.0
rev: 7.0.0
hooks:
- id: flake8
args: [--config=./tox.ini]
language_version: python3.11

- repo: https://github.com/pycqa/isort
rev: 5.12.0
rev: 5.13.2
hooks:
- id: isort
args: ["--profile", "black", "--filter-files"]
language_version: python3.11

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v4.5.0
hooks:
- id: requirements-txt-fixer
language_version: python3.11
Expand Down
143 changes: 143 additions & 0 deletions .report/Expired TODO Items.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,143 @@

<h3>Expired TODOs for JANE_DOE</h3>
<p>

<table>
<tr>
<th>Message</th>
<th>Module</th>
<th>Line No.</th>
<th>Completion Date</th>
</tr>

<tr>
<td>some-message-0b0e31cc-e2e8-4d54-9684-ddf95958d7dc</td>
<td>sample_test_file.py</td>
<td>6</td>
<td>2022-05-01</td>
</tr>

<tr>
<td>some-message-f53d566a-1fea-422b-9ac6-41a171977ac2</td>
<td>sample_test_file.py</td>
<td>7</td>
<td>2022-05-02</td>
</tr>

<tr>
<td>some-message-5c795770-18f7-4104-a5d5-908af39a6686</td>
<td>sample_test_file.py</td>
<td>21</td>
<td>2022-05-08</td>
</tr>

<tr>
<td>some-@message-726c9e2d-13bf-4309-9b3c-530c7b3404b7</td>
<td>sample_test_file.py</td>
<td>23</td>
<td>2022-05-09</td>
</tr>

<tr>
<td></td>
<td>sample_test_file.py</td>
<td>25</td>
<td>2022-05-09</td>
</tr>

<tr>
<td></td>
<td>sample_test_file.py</td>
<td>26</td>
<td>2022-05-10</td>
</tr>

</table>

</p><br>

<h3>Expired TODOs for ashutosh</h3>
<p>

<table>
<tr>
<th>Message</th>
<th>Module</th>
<th>Line No.</th>
<th>Completion Date</th>
</tr>

<tr>
<td>some-message-4ef1fe34-ab50-4cc1-8abc-e550dee3be3f</td>
<td>sample_test_file.py</td>
<td>8</td>
<td>2022-05-03</td>
</tr>

<tr>
<td>some-message-2af38dcf-29e4-4104-9921-6e654f27a6ca</td>
<td>sample_test_file.py</td>
<td>9</td>
<td>2022-05-04</td>
</tr>

<tr>
<td>some-message-e1922c58-f6d0-49cf-8005-076c18556f13</td>
<td>sample_test_file.py</td>
<td>14</td>
<td>2022-05-17</td>
</tr>

<tr>
<td>some-message-1a4a2281-40b0-4df0-942e-8d1a9d74ad45</td>
<td>sample_test_file.py</td>
<td>17</td>
<td>2022-03-17</td>
</tr>

<tr>
<td>some-message-c3757bc8-571f-4717-bf16-b102a16d36f5</td>
<td>sample_test_file.py</td>
<td>18</td>
<td>2024-03-03</td>
</tr>

<tr>
<td>some-message-8882c77a-ba29-40dc-9bcd-fb7d19ce7d49</td>
<td>sample_test_file.py</td>
<td>19</td>
<td>2024-03-13</td>
</tr>

<tr>
<td></td>
<td>sample_test_file.py</td>
<td>22</td>
<td>2022-05-09</td>
</tr>

<tr>
<td>some-message-a1571791-50fe-4863-8a06-c2d4d921897c"""</td>
<td>sample_test_file.py</td>
<td>42</td>
<td>2022-05-05</td>
</tr>

<tr>
<td>some-message-ffe6e2ca-c78b-4231-b278-06e3de8aa9c6"""</td>
<td>sample_test_file.py</td>
<td>51</td>
<td>2022-05-06</td>
</tr>

<tr>
<td>some-message-a59653a5-3fae-450a-8289-0c4433e27535</td>
<td>sample_test_file.py</td>
<td>53</td>
<td>2022-05-07</td>
</tr>

</table>

</p><br>

Loading
Loading