-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initializing a fresh pyproject.toml (#71)
* Initializing a fresh pyproject.toml Upgrading package structure. * Updating ci reference to branch main * Moving package's metadata to pyproject.toml * fix: Missing a version * Moved dependencies * Migrated testing requirements to pyproject.toml * Moving other optionals * Project's URL * Moving console script definition * How the version is defined * Seting up black for 88 line-length * Using dynamic versioning * Cleaning everything related to hardcoded version * Keeping Py-3.6 for a little bit longer It took me so long to update this, now I should at least give some. There is a chance of someone stuck on older versions because of this. * fix: Just use float instead * Updating history * Testing with Py-3.8 * Testing with 3.9 & 3.10 * fix: encoding for json.loads is deprecated * Don't fail-fast so it is easier to debug * Updating code syntax * style: Applying black * style: More formating with black * Updating GA Python setup * style: More work improving code style * Adding pre-commit setup This is probably what will be used. Upgrade pyupgrade standard once stop supporting Py3.6
- Loading branch information
Showing
30 changed files
with
913 additions
and
853 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 |
---|---|---|
|
@@ -11,6 +11,7 @@ parts | |
sdist | ||
develop-eggs | ||
.installed.cfg | ||
version.py | ||
|
||
# Installer logs | ||
pip-log.txt | ||
|
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,32 @@ | ||
# See https://pre-commit.com for more information | ||
# See https://pre-commit.com/hooks.html for more hooks | ||
default_language_version: | ||
python: python3.10 | ||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.3.0 | ||
hooks: | ||
- id: check-ast | ||
- id: check-docstring-first | ||
- id: check-merge-conflict | ||
- id: check-yaml | ||
- id: check-toml | ||
- id: debug-statements | ||
- id: trailing-whitespace | ||
- id: end-of-file-fixer | ||
- id: check-added-large-files | ||
- repo: https://github.com/asottile/pyupgrade | ||
rev: v2.38.2 | ||
hooks: | ||
- id: pyupgrade | ||
args: [--py36-plus] | ||
- repo: https://github.com/psf/black | ||
rev: 22.8.0 | ||
hooks: | ||
- id: black | ||
args: [ --safe ] | ||
exclude: docs/conf.py | ||
- repo: https://github.com/PyCQA/flake8 | ||
rev: 5.0.4 | ||
hooks: | ||
- id: flake8 |
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
Oops, something went wrong.