Commit Graph

6397 Commits (develop-ruff)

Author SHA1 Message Date
Mashintime 296f8d64f4
Merge pull request #1048 from as3ii/ruff
Easier ruff testin
2026-01-04 14:05:17 -05:00
as3ii 191c94c942
Executed `ruff format --preview`, small update to CONTRIBUTING.md 2025-11-13 23:48:17 +01:00
as3ii 90a1e7c2f7
Removed redefined set_tuner() flrig's function (ruff F811) 2025-11-13 23:43:04 +01:00
as3ii 1f4efac11e
Substituted unused variables with wildcard (ruff F841)
See https://peps.python.org/pep-0634/#wildcard-pattern
2025-11-13 23:31:09 +01:00
as3ii b187628c3e
Fixed `undefined name` errors (ruff F812) 2025-11-13 23:07:06 +01:00
as3ii 4285a81899
Fixed errors in create_custom_ofdm_mod 2025-11-13 23:03:59 +01:00
as3ii 444c0d37cf
Removed f-strings without placeholders (ruff F541) 2025-11-13 22:45:07 +01:00
as3ii fbb151838b
Fixed ruff F403 and F405
Now all F4 rules are fixed
2025-11-13 22:39:46 +01:00
as3ii 4a458730ea
Removed unused imports
Ruff's rule F401
2025-11-13 20:12:55 +01:00
as3ii b86cea188b
Fixed ruff rule E713, E721 and E722
See https://peps.python.org/pep-0008/#programming-recommendations
2025-11-13 20:05:47 +01:00
as3ii 0deef898ff
Fixed ruff rule E401 and E402
See https://peps.python.org/pep-0008/#imports
2025-11-13 19:55:53 +01:00
as3ii 6f7288335f
Switched from editing `sys.path` to proper PEP8 imports
See: https://peps.python.org/pep-0008/#imports

Here absolute imports have been used to avoid the error
`ImportError: attempted relative import with no known parent package`.
2025-11-13 19:49:38 +01:00
as3ii 23f1aab5aa
Removed references to pylint and useless file encoding 2025-11-13 16:32:23 +01:00
as3ii 66b2c6bf4e
Run `ruff format`
This applies mostly the same rules that `black` used.

This commit should not have introduced any logical or functional
changes, only fixing style consistency
2025-11-13 15:53:43 +01:00
as3ii 9f5c20d174
Added basic CONTRIBUTING.md 2025-11-12 12:00:58 +01:00
as3ii e2652b746a
Switched to ruff for linting/formatting, added ruff CI 2025-11-12 09:33:02 +01:00
DJ2LS 131ce36d20
Merge pull request #1022 from as3ii/project-update 2025-11-12 08:01:57 +01:00
as3ii e6bcd2490e
Install only required dependencies
- `pip install .` installs only the libraries required to run freedata
- `pip install .[test]` installs the libraries required for running and testing freedata
- `pip install .[dev]` installs the libraries required for running, testing and linting/checking freedata
- `pip install .[build]` installs only the libraries required to run and build the freedata pip module
- `pip install .[nuitka]` installs only the libraries required to run and build the freedata executable

requirements.txt remains only for backward compatibility
2025-11-11 23:22:22 +01:00
as3ii b22a10bc24
Reordered python dependencies, removed useless pyinstaller 2025-11-11 23:22:09 +01:00
as3ii 602b982f81
Removed setup.py, fixed build of pip module 2025-11-11 23:19:20 +01:00
as3ii 9f8ba515ab
Fixed typo in pyproject.toml 2025-11-11 23:15:40 +01:00
DJ2LS 976c32479e
Merge pull request #1023 from erikdewildt/distance_unit_setting 2025-11-08 22:24:16 +01:00
DJ2LS ac07a6c398
Merge pull request #1033 from DJ2LS/dependabot/npm_and_yarn/freedata_gui/develop/eslint-9.39.0 2025-11-08 21:11:56 +01:00
DJ2LS b80a9a4aa3
Merge pull request #1032 from DJ2LS/dependabot/npm_and_yarn/freedata_gui/develop/babel/core-7.28.5 2025-11-08 21:11:38 +01:00
dependabot[bot] 91bb2ddc9b
Bump eslint from 9.37.0 to 9.39.0 in /freedata_gui
Bumps [eslint](https://github.com/eslint/eslint) from 9.37.0 to 9.39.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Commits](https://github.com/eslint/eslint/compare/v9.37.0...v9.39.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-version: 9.39.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-02 11:25:03 +00:00
dependabot[bot] 59541a8778
Bump @babel/core from 7.28.4 to 7.28.5 in /freedata_gui
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.28.4 to 7.28.5.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.28.5/packages/babel-core)

---
updated-dependencies:
- dependency-name: "@babel/core"
  dependency-version: 7.28.5
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-02 11:22:12 +00:00
DJ2LS 254fac24b5
Merge pull request #1031 from DJ2LS/dependabot/npm_and_yarn/freedata_gui/develop/core-js-3.46.0 2025-11-02 12:21:06 +01:00
DJ2LS 3e6662bcb9
Merge pull request #1030 from DJ2LS/dependabot/npm_and_yarn/freedata_gui/develop/babel/eslint-parser-7.28.5 2025-11-02 12:20:54 +01:00
DJ2LS ecd835c40f
Merge pull request #1028 from DJ2LS/dependabot/pip/develop/nuitka-lte-2.8.4 2025-11-02 12:20:33 +01:00
DJ2LS 223869bddc
Merge pull request #1027 from DJ2LS/dependabot/github_actions/develop/actions/upload-artifact-5 2025-11-02 12:20:17 +01:00
DJ2LS 41594fd905
Merge pull request #1026 from DJ2LS/dependabot/github_actions/develop/github/codeql-action-4 2025-11-02 12:20:05 +01:00
DJ2LS 253ebd3686
Merge pull request #1025 from DJ2LS/dependabot/github_actions/develop/actions/setup-node-6 2025-11-02 12:19:54 +01:00
dependabot[bot] f03cb737c6
Bump core-js from 3.45.1 to 3.46.0 in /freedata_gui
Bumps [core-js](https://github.com/zloirock/core-js/tree/HEAD/packages/core-js) from 3.45.1 to 3.46.0.
- [Release notes](https://github.com/zloirock/core-js/releases)
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zloirock/core-js/commits/v3.46.0/packages/core-js)

---
updated-dependencies:
- dependency-name: core-js
  dependency-version: 3.46.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-01 16:06:24 +00:00
dependabot[bot] 08fed5c4f0
Bump @babel/eslint-parser from 7.28.4 to 7.28.5 in /freedata_gui
Bumps [@babel/eslint-parser](https://github.com/babel/babel/tree/HEAD/eslint/babel-eslint-parser) from 7.28.4 to 7.28.5.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.28.5/eslint/babel-eslint-parser)

---
updated-dependencies:
- dependency-name: "@babel/eslint-parser"
  dependency-version: 7.28.5
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-01 16:06:17 +00:00
dependabot[bot] e7c2982f0d
Update nuitka requirement from <=2.7.16 to <=2.8.4
Updates the requirements on [nuitka](https://github.com/Nuitka/Nuitka) to permit the latest version.
- [Changelog](https://github.com/Nuitka/Nuitka/blob/develop/Changelog.rst)
- [Commits](https://github.com/Nuitka/Nuitka/compare/0.3.11a...2.8.4)

---
updated-dependencies:
- dependency-name: nuitka
  dependency-version: 2.8.4
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-01 16:02:05 +00:00
dependabot[bot] f166ebdf66
Bump actions/upload-artifact from 4 to 5
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4 to 5.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-01 16:01:50 +00:00
dependabot[bot] 6309dc5279
Bump github/codeql-action from 3 to 4
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3 to 4.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: '4'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-01 16:01:44 +00:00
dependabot[bot] 7ac290e15f
Bump actions/setup-node from 5 to 6
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 5 to 6.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-01 16:01:39 +00:00
Erik de Wildt e095693ae8 Merge branch 'distance_unit_setting' of github.com:erikdewildt/FreeDATA into distance_unit_setting 2025-10-30 14:02:55 +01:00
Erik de Wildt dd1f4bbb8f Update Dutch locale for distance unit settting. 2025-10-30 14:02:17 +01:00
Erik de Wildt 9db8472d68 Merge remote-tracking branch 'origin/develop' into distance_unit_setting 2025-10-30 13:59:14 +01:00
Erik de Wildt 1b56712ceb Add a support for Nautical Miles 2025-10-30 13:57:37 +01:00
DJ2LS 836039d3f4
Merge branch 'main' into develop 2025-10-30 12:44:49 +01:00
DJ2LS 3f3ea54c89
Merge pull request #1021 from erikdewildt/add_dutch_language
Fix English locale hamlib radio control help texts and add Dutch language
2025-10-30 12:37:31 +01:00
DJ2LS b0bc3be216
Merge pull request #1015 from DJ2LS/dependabot/github_actions/develop/actions/setup-python-6
Bump actions/setup-python from 5 to 6
2025-10-30 12:34:26 +01:00
Erik de Wildt 5982ca69e7
Merge branch 'DJ2LS:main' into distance_unit_setting 2025-10-30 08:57:09 +01:00
Erik de Wildt e25f7852df Update locales for distance unit setting. 2025-10-29 10:38:41 +01:00
Erik de Wildt 64d41de67e Add distance unit setting to choose between Kilometer or Miles. 2025-10-29 10:17:36 +01:00
Erik de Wildt d2e4492aea
Merge branch 'develop' into add_dutch_language 2025-10-28 14:58:17 +01:00
Erik de Wildt 4288402837 Rename dutch local file to nl_Nederlands 2025-10-27 10:38:45 +01:00