Commit Graph

18 Commits

Author SHA1 Message Date
Romain Failliot 47bea02d15 Add Python version to GitHub actions 2022-10-23 16:52:35 -04:00
Romain Failliot 8c728585db Update GitHub actions 2022-10-23 16:50:12 -04:00
Romain Failliot 3389862ea1 Show build tools version in GitHub actions 2022-10-23 15:42:29 -04:00
Romain Failliot a5cbc63e0d Linters no longer need Diffuse to be installed 2021-11-27 21:55:49 -05:00
Romain Failliot 6685b898f8 Created a requirements.dev.txt just for the developers 2021-11-24 20:39:00 -05:00
Romain Failliot 124d086009 ci: call the linters on the installed directory 2021-11-24 20:27:47 -05:00
Romain Failliot 7b2992ab3f Add po/ to the linters 2021-11-24 10:41:11 -05:00
Romain Failliot 72b4832ee4 Add mypy job in CI 2021-11-22 20:54:44 -05:00
Romain Failliot 362c59f150 Add flake8 job in CI 2021-11-22 20:53:17 -05:00
Romain Failliot c54e346887 ci: install dependencies
* Install GTK dev dependencies
* Add requirements.txt
* Fix error that happens on CI only (?)
2021-11-21 15:32:16 -05:00
Romain Failliot 032e9a398b Move all the diffuse package in its own directory
This helps the linters (pylint and flake8)
2021-11-21 15:32:16 -05:00
Romain Failliot 7331912ded Add more files for the linter 2021-11-21 02:28:13 -05:00
Romain Failliot 812ca1779f Fix lint messages in src/utils.py 2021-11-20 14:20:21 -05:00
Romain Failliot b0b6ddfa5d ci: add Flatpak builder job 2021-11-20 13:29:24 -05:00
Romain Failliot d49b1d51c6 ci: split linter and build jobs 2021-11-20 13:09:52 -05:00
Romain Failliot 1259c00ee8 Add pylint in CI 2021-11-20 12:46:47 -05:00
Romain Failliot fd3c2bfb92 Start modularizing the code
* The entry point (`__main__`) is in diffuxe.in
* The main (almost all) code is now in main.py
* Some util functions and variables are in utils.py
* Following the same folder structure as with a new project with GNOME
  Builder:
    - `src/` is now just for the code itself
    - `data/` is for the other files (metainfo, desktop, config, ...)
    - `po/` for the translations
    - The Desktop file is renamed with the app ID
    - The `meson.build` files are closer to what GNOME Builder generates
    - More tests for the package (appstream and desktop)
    - Almost all the files in `etc/`, `usr/` are properly handled by
      meson now
    - Just use `gettext.install()` to initialize gettext
    - Remove call to `Gtk.Window.set_default_icon_name()`
* Website now points to https://mightycreak.github.io/diffuse/
2021-11-16 17:48:34 -05:00
Creak 1e84b63412 Create main.yml 2020-12-08 13:33:14 -05:00