Skip to content
Open
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
3c7d252
Updated to support Python3 using 2to3
jpwhite3 Feb 17, 2021
61173c4
Use subprocess.Popen default buffer size
jpwhite3 Feb 23, 2021
c67963f
Adding makefile
jpwhite3 Feb 27, 2021
bb291b3
Fixed tests
jpwhite3 Feb 27, 2021
88a25f9
Added requirements building
jpwhite3 Feb 28, 2021
6f6e9cf
Added requirements.txt
jpwhite3 Feb 28, 2021
2dd72c1
Create python-package.yml
jpwhite3 Feb 28, 2021
c17c579
Massive Linting and clean up
jpwhite3 Feb 28, 2021
306f52e
Removing requirements.txt generation
jpwhite3 Feb 28, 2021
e725912
Ci Setup
jpwhite3 Feb 28, 2021
903a5f5
CI
jpwhite3 Feb 28, 2021
7a5bb05
Fixing pyproject.toml
jpwhite3 Feb 28, 2021
d35acca
Testing
jpwhite3 Feb 28, 2021
83a9217
CI
jpwhite3 Feb 28, 2021
636fd09
Coveralls
jpwhite3 Feb 28, 2021
0529328
Coveralls
jpwhite3 Feb 28, 2021
20e7319
Coveralls
jpwhite3 Feb 28, 2021
5127a27
Coveralls
jpwhite3 Feb 28, 2021
e936701
Coveralls
jpwhite3 Feb 28, 2021
784f0b1
Build Badge
jpwhite3 Feb 28, 2021
6843dee
Build Badge
jpwhite3 Feb 28, 2021
0bfacc1
gitignore
jpwhite3 Feb 28, 2021
4dfb314
Save
jpwhite3 Mar 1, 2021
6ef6397
Badge
jpwhite3 Mar 1, 2021
799c153
Badge
jpwhite3 Mar 1, 2021
53d81bc
tests
jpwhite3 Mar 1, 2021
23cbb29
More tests
jpwhite3 Mar 3, 2021
6bf75a4
More tests
jpwhite3 Mar 4, 2021
8bbac57
More tests
jpwhite3 Mar 4, 2021
c52bd20
More tests
jpwhite3 Mar 14, 2021
9956e76
More tests
jpwhite3 Mar 18, 2021
ec67def
Automating release
jpwhite3 Apr 5, 2021
caf5e88
Adding pipfile.lock to automate requirements
jpwhite3 Apr 5, 2021
da74b94
Create codeql-analysis.yml
jpwhite3 Apr 5, 2021
32fc7ba
Removing CodeQL scanning for .cpp files
jpwhite3 Apr 5, 2021
488ec31
Bump urllib3 from 1.26.3 to 1.26.4
dependabot[bot] Apr 6, 2021
5208d91
Update auto-merge.yml
jpwhite3 Apr 7, 2021
694fc2a
Merge pull request #2 from jpwhite3/dependabot/pip/urllib3-1.26.4
jpwhite3 Apr 7, 2021
7d46430
More tests
jpwhite3 May 13, 2021
54960ee
Bump urllib3 from 1.26.4 to 1.26.5
dependabot[bot] Jun 2, 2021
7b74648
Merge pull request #3 from jpwhite3/dependabot/pip/urllib3-1.26.5
jpwhite3 Jun 4, 2021
7911fcf
This change-set drops support for Python 2.7 and lower. It also adds …
jpwhite3 Jun 20, 2021
7b9d394
Converting space indentation back to tabs
jpwhite3 Jun 23, 2021
e896310
Resolving pylint R0205 warnings
jpwhite3 Jun 23, 2021
75aa415
fix: requirements.txt to reduce vulnerabilities
snyk-bot Nov 15, 2022
830d85f
Bump certifi from 2021.5.30 to 2022.12.7
dependabot[bot] Dec 9, 2022
0f8dd32
fix: requirements.txt to reduce vulnerabilities
snyk-bot Dec 21, 2022
620ef07
fix: requirements.txt to reduce vulnerabilities
snyk-bot Dec 22, 2022
3df4bf9
fix: requirements.txt to reduce vulnerabilities
snyk-bot Dec 24, 2022
5aeb075
Bump cryptography from 3.4.7 to 39.0.1
dependabot[bot] Feb 8, 2023
d83a8c4
fix: requirements.txt to reduce vulnerabilities
snyk-bot Feb 9, 2023
0c90e34
fix: requirements.txt to reduce vulnerabilities
snyk-bot Feb 10, 2023
c08b940
fix: requirements.txt to reduce vulnerabilities
snyk-bot Feb 16, 2023
7957b8e
fix: requirements.txt to reduce vulnerabilities
snyk-bot May 23, 2023
7c19906
Merge pull request #4 from jpwhite3/snyk-fix-14c4cd4396ce93a6c9ce3aee…
jpwhite3 May 30, 2023
f8ae27d
Merge pull request #8 from jpwhite3/snyk-fix-8408cdff4727823d30856bc0…
jpwhite3 May 30, 2023
beee110
Merge pull request #10 from jpwhite3/snyk-fix-717e0c5734987f2031c1734…
jpwhite3 May 30, 2023
40131b2
Merge pull request #11 from jpwhite3/snyk-fix-1361f2321411bfbe5a6b50a…
jpwhite3 May 30, 2023
a97a79b
fix: requirements.txt to reduce vulnerabilities
snyk-bot Jun 2, 2023
ee25703
Merge pull request #5 from jpwhite3/dependabot/pip/certifi-2022.12.7
jpwhite3 Jun 15, 2023
f3a76e1
Merge pull request #6 from jpwhite3/snyk-fix-77390fdb9c932cbd5334d2ca…
jpwhite3 Jun 15, 2023
8713200
Merge pull request #7 from jpwhite3/snyk-fix-7ce319c5cd412ebcd56707ee…
jpwhite3 Jun 15, 2023
1f8795b
Merge pull request #9 from jpwhite3/dependabot/pip/cryptography-39.0.1
jpwhite3 Jun 15, 2023
15c5109
Merge pull request #12 from jpwhite3/snyk-fix-cee53458d59a146ce32627a…
jpwhite3 Jun 15, 2023
f8d9ef8
Merge pull request #13 from jpwhite3/snyk-fix-4b627e54682d4a2401115b4…
jpwhite3 Jun 15, 2023
ab113d5
Merge pull request #14 from jpwhite3/snyk-fix-1d0bf6fcf334a028abed373…
jpwhite3 Jun 15, 2023
a163665
Update python-package.yml
jpwhite3 Jun 15, 2023
0e1ce5c
Update python-package.yml
jpwhite3 Jun 15, 2023
c467c7d
Update requirements.txt
jpwhite3 Jun 15, 2023
442e601
Updated dependencies and build process to deal with end of life pytho…
jpwhite3 Jun 15, 2023
b42b33c
Remove reporting from CI process
jpwhite3 Jun 15, 2023
e94f59d
fix: requirements.txt to reduce vulnerabilities
snyk-bot Jul 26, 2023
1579040
fix: requirements.txt to reduce vulnerabilities
snyk-bot Oct 18, 2023
f5956ec
Merge pull request #20 from jpwhite3/snyk-fix-a33733ca9d9cb48cbb9a1e8…
jpwhite3 Dec 4, 2023
d60fd87
Merge pull request #16 from jpwhite3/snyk-fix-4e764588de4332d993c8128…
jpwhite3 Dec 4, 2023
396e540
fix: requirements.txt to reduce vulnerabilities
snyk-bot May 15, 2024
80f841e
fix: requirements.txt to reduce vulnerabilities
snyk-bot May 15, 2024
276930f
Merge pull request #24 from jpwhite3/snyk-fix-3ae23001d71e82a0d45f89a…
jpwhite3 May 16, 2024
96a0533
Merge pull request #23 from jpwhite3/snyk-fix-bc7753c7f54c52dc4d6d8e5…
jpwhite3 May 16, 2024
fb6b79b
refactor: migrate to Python 3.10+, Poetry, and add comprehensive test…
jpwhite3 Jul 31, 2025
1a7b1a7
refactor: modernize string formatting with f-strings and clean up cod…
jpwhite3 Jul 31, 2025
c46fdc5
ci: expand workflow triggers to include main, develop, and feature br…
jpwhite3 Jul 31, 2025
ce941fb
ci: allow type checking step to continue on error
jpwhite3 Jul 31, 2025
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
2 changes: 2 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[run]
relative_files = True
67 changes: 67 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
#
# ******** NOTE ********
# We have attempted to detect the languages in your repository. Please check
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: "CodeQL"

on:
push:
branches: [ master ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ master ]
schedule:
- cron: '27 19 * * 5'

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
language: [ 'javascript', 'python' ]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
# Learn more:
# https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed

steps:
- name: Checkout repository
uses: actions/checkout@v2

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# queries: ./path/to/local/query, your-org/your-repo/queries@main

# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v1

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl

# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language

#- run: |
# make bootstrap
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
63 changes: 63 additions & 0 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions

name: Python package

on:
push:
branches: [master, main, develop, feature/*, bugfix/*]
pull_request:
branches: [master, main, develop, feature/*, bugfix/*]

jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.10', '3.11', '3.12', '3.13']

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

- name: Install Poetry
uses: snok/install-poetry@v1
with:
version: latest
virtualenvs-create: true
virtualenvs-in-project: true
installer-parallel: true

- name: Load cached venv
id: cached-poetry-dependencies
uses: actions/cache@v3
with:
path: .venv
key: venv-${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('**/poetry.lock') }}

- name: Install dependencies
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
run: poetry install --no-interaction --no-root --with dev

- name: Install project
run: poetry install --no-interaction

- name: Run tests
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: poetry run pytest

- name: Run linting
continue-on-error: true
run: |
poetry run flake8 gitinspector tests --count --select=E9,F63,F7,F82 --show-source --statistics --builtins="_"
poetry run pylint --rcfile=.pylintrc gitinspector

- name: Run type checking
continue-on-error: true
run: poetry run mypy gitinspector
36 changes: 36 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Release

on:
push:
tags:
- 'v*.*.*'

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'

- name: Install dependencies
run: |
python -m pip install --upgrade pip wheel twine
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi

- name: Test
run: make dist

- name: Release
id: release
uses: softprops/action-gh-release@v1
with:
files: dist/*
fail_on_unmatched_files: true
prerelease: ${{ endsWith(github.ref, 'dev') || endsWith(github.ref, 'pre') }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ node_modules
*.egg-info
*.pyc
*.tgz
.DS_Store
.coverage
Loading