Skip to content

Commit

Permalink
Starting a refactor of the whole project
Browse files Browse the repository at this point in the history
  • Loading branch information
BrunoB81HK committed Oct 13, 2024
1 parent 8350614 commit c8450e3
Show file tree
Hide file tree
Showing 33 changed files with 1,416 additions and 266 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
*.spec
build/
dist/
venv/
19 changes: 19 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
repos:
- repo: "https://github.com/pre-commit/pre-commit-hooks"
rev: "v4.5.0"
hooks:
- id: "trailing-whitespace"
- id: "end-of-file-fixer"
- id: "check-toml"
- repo: "https://github.com/astral-sh/ruff-pre-commit"
rev: "v0.2.1"
hooks:
- id: "ruff"
types_or:
- "python"
args:
- "--fix"
- id: "ruff-format"
types_or:
- "python"
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,4 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

## [2.0] - 2020-09-04

- Changed the entirety of the user interface.
- Changed the entirety of the user interface.
2 changes: 1 addition & 1 deletion LICENSE.txt
Original file line number Diff line number Diff line change
Expand Up @@ -671,4 +671,4 @@ into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<https://www.gnu.org/licenses/why-not-lgpl.html>.
<https://www.gnu.org/licenses/why-not-lgpl.html>.
File renamed without changes.
File renamed without changes
File renamed without changes
Binary file added assets/source/icon.xcf
Binary file not shown.
File renamed without changes
Binary file added assets/source/splash.xcf
Binary file not shown.
Binary file added assets/splash.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
56 changes: 0 additions & 56 deletions build.py

This file was deleted.

20 changes: 0 additions & 20 deletions curvefinder.py

This file was deleted.

16 changes: 12 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,11 @@
requires = ["hatchling"]
build-backend = "hatchling.build"

[tool.hatch.build.targets.wheel]
packages = ["src/curve_extractor"]

[project]
name = "CurveExtractor"
name = "curve_extractor"
version = "3.0"
description = "Simple app to let you extract the equations from a graph"
readme = "README.md"
Expand All @@ -25,14 +28,19 @@ dependencies = [
]
requires-python = ">=3.10"
license = { file = "LICENSE.txt" }
keywords = ["curve", "extractor", "finder", "equation"]
keywords = ["curve", "equation", "extractor", "finder"]
classifiers = ["Programming Language :: Python"]

[project.optional-dependencies]
gui = ["PyQt5"]
cli = ["rich", "click"]
dev = ["ruff", "pre-commit"]

[project.urls]
Repository = "https://github.com/BrunoB81HK/CurveExtractor.git"
"Bug Tracker" = "https://github.com/BrunoB81HK/CurveExtractor/issues"
Changelog = "https://github.com/BrunoB81HK/CurveExtractor/blob/master/CHANGELOG.md"

[project.scripts]
ce_cli = "curve_extractor.cli:main"

[project.gui-scripts]
curve_extractor = "curve_extractor.main:main"
Binary file removed resources/icon.xcf
Binary file not shown.
Binary file removed resources/splash.png
Binary file not shown.
Binary file removed resources/splash.xcf
Binary file not shown.
File renamed without changes.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Empty file added src/curve_extractor/app.py
Empty file.
Loading

0 comments on commit c8450e3

Please sign in to comment.