-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: update project structure to b25684a2
- Loading branch information
Showing
18 changed files
with
251 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
diff a/.github/actions/python-poetry-env/action.yml b/.github/actions/python-poetry-env/action.yml (rejected hunks) | ||
@@ -5,12 +5,12 @@ inputs: | ||
python-version: | ||
required: false | ||
description: 'Python version' | ||
- default: '3.10' | ||
+ default: '3.12' | ||
outputs: {} | ||
runs: | ||
using: 'composite' | ||
steps: | ||
- - uses: actions/setup-python@v4 | ||
+ - uses: actions/setup-python@v5 | ||
with: | ||
python-version: ${{inputs.python-version}} | ||
- name: Install poetry |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
diff a/.github/workflows/test.yml b/.github/workflows/test.yml (rejected hunks) | ||
@@ -38,10 +38,17 @@ jobs: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
- python-version: ["3.7", "3.8", "3.9", "3.10"] | ||
+ python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] | ||
steps: | ||
- - uses: actions/checkout@v2 | ||
+ - uses: actions/checkout@v4 | ||
- uses: ./.github/actions/python-poetry-env | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- run: poetry run pytest | ||
+ | ||
+ docs: | ||
+ runs-on: ubuntu-latest | ||
+ steps: | ||
+ - uses: actions/checkout@v4 | ||
+ - uses: ./.github/actions/python-poetry-env | ||
+ - run: poetry run mkdocs build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
diff a/.pre-commit-config.yaml b/.pre-commit-config.yaml (rejected hunks) | ||
@@ -11,30 +11,24 @@ repos: | ||
- id: check-yaml | ||
- id: debug-statements | ||
- id: end-of-file-fixer | ||
+ exclude: 'CHANGELOG.md' | ||
- id: trailing-whitespace | ||
- id: mixed-line-ending | ||
- repo: local | ||
hooks: | ||
- - id: autoflake | ||
- name: autoflake | ||
- entry: poetry run autoflake -r -i --remove-all-unused-imports --remove-unused-variables | ||
+ - id: ruff-format | ||
+ name: ruff-format | ||
+ entry: poetry run ruff format | ||
+ require_serial: true | ||
language: system | ||
types: [ python ] | ||
- - id: isort | ||
- name: isort | ||
- entry: poetry run isort | ||
- language: system | ||
- types: [python] | ||
- - id: black | ||
- name: black | ||
- entry: poetry run black | ||
- language: system | ||
- types: [python] | ||
- - id: pyupgrade | ||
- name: pyupgrade | ||
- entry: poetry run pyupgrade --py37-plus | ||
+ - id: ruff | ||
+ name: ruff | ||
+ # Add --fix, in case you want it to autofix when this hook runs | ||
+ entry: poetry run ruff check --force-exclude | ||
+ require_serial: true | ||
language: system | ||
- types: [python] | ||
+ types: [ python ] | ||
- id: mypy | ||
name: mypy | ||
entry: poetry run mypy . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
diff a/LICENSE b/LICENSE (rejected hunks) | ||
@@ -1,6 +1,6 @@ | ||
The MIT License (MIT) | ||
|
||
-Copyright (c) 2021 Adnan M. Niazi <adnaniazi@gmail.com> | ||
+Copyright (c) 2024 Adnan M. Niazi <adnaniazi@gmail.com> | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy of | ||
this software and associated documentation files (the "Software"), to deal in |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
diff a/README.md b/README.md (rejected hunks) | ||
@@ -29,7 +29,7 @@ pip install capfinder | ||
* Clone this repository | ||
* Requirements: | ||
* [Poetry](https://python-poetry.org/) | ||
- * Python 3.7+ | ||
+ * Python 3.8+ | ||
* Create a virtual environment and install the dependencies | ||
|
||
```sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.