Commit Graph

28 Commits

Author SHA1 Message Date
Anton Hvornum e32cf71ae7
Added type annotations to all functions (#845)
* Added type annotations for 1/5 of the files.

There's bound to be some issues with type miss-match, will sort that out later.

* Added type hints for 4/5 of the code

* Added type hints for 4.7/5 of the code

* Added type hints for 5/5 of the code base

* Split the linters into individual files

This should help with more clearly show which runner is breaking since they don't share a single common name any longer. Also moved mypy settings into pyproject.toml

* Fixed some of the last flake8 issues

* Missing parameter

* Fixed invalid lookahead types

* __future__ had to be at the top

* Fixed last flake8 issues
2022-01-06 22:01:15 +01:00
Anton Hvornum 5d4673cfff
Only create pypi releases on publishing a release
Since we can create them, but as draft or locally through tagging. It's best to safe bet this to only published releases. Worst case manual submission has to be done.
2021-11-25 12:08:43 +00:00
Christian Clauss 52dbccea5e Tighten up flake8 tests used by lint_python GitHub Action 2021-10-04 11:08:21 +02:00
Dylan M. Taylor 35578a0d3a
Proposal: use iso-build for releases 2021-05-22 17:02:12 -04:00
Dylan Taylor b2d20647fc Some additional formatting 2021-05-15 12:46:23 -04:00
Dylan M. Taylor b242455121
Prevent mypy from producing errors 2021-05-15 10:46:14 -04:00
Dylan M. Taylor 2d5564a7c2
Further split out pytest; TODO: add tests. 2021-05-15 09:57:10 -04:00
Dylan M. Taylor be94c7d5fe
Split into separate jobs 2021-05-15 09:54:08 -04:00
Dylan M. Taylor 843cd6cf0f
Update lint-python.yaml 2021-05-15 09:45:50 -04:00
Dylan M. Taylor ad444caf9d
Bring in some of the good CI changes from #411 2021-05-15 09:27:40 -04:00
advaithm cee1b732b9
an example mypy workflow 2021-05-12 16:11:37 +05:30
Anton Hvornum 9fd87a4b53
Update python-publish.yml 2021-04-28 21:30:48 +02:00
Dylan M. Taylor 7beccba395
Avoid some word wrapping on smaller consoles like VirtualBox. 2021-04-28 08:59:01 -04:00
Dylan M. Taylor 939fae0b1a Include the commit SHA in the ISO
Update iso-build.yaml with wording change, cat out .zprofile for debugging, and make it so workflow edits trigger builds.
2021-04-27 22:21:05 -04:00
Anton Hvornum ae1c4ea7c2
Merge pull request #337 from dylanmtaylor/patch-4
Run CI on pushes to master/main
2021-04-27 12:12:36 +00:00
Dylan M. Taylor d401820381
Run CI on pushes to master/main 2021-04-22 14:35:05 -04:00
Anton Hvornum 5fba277dda Merging in master to feature branch. 2021-04-17 09:52:09 +02:00
Dylan M. Taylor 88071ef9c0
.toml files could also possibly affect behavior. 2021-04-15 18:47:34 -04:00
Dylan M. Taylor 769a5b5f74
These could affect whether the code builds/runs correctly
They should not be ignored.
2021-04-15 18:46:44 -04:00
Anton Hvornum 3279de08ad
Revert `README` addition, it's catched by **.md 2021-04-15 21:07:06 +02:00
Anton Hvornum 0128ae6647
Added README to ignore 2021-04-15 20:55:36 +02:00
Владислав 6264099428
Add ignore rules for iso-build.yaml
These rules ignore all unrelated files and folders that are not needed to build the ISO.
2021-04-15 21:09:02 +03:00
advaithm 413565dbd0 moved to flit build system 2021-04-12 19:39:23 +05:30
Dylan M. Taylor 584a2c465f Pull in iso-build.yaml from master to generate a test ISO 2021-04-12 07:44:13 -04:00
Dylan M. Taylor 2321a7afce
Update iso-build.yaml 2021-04-11 14:53:06 -04:00
Dylan M. Taylor 0762a7173c Automatically change directory and replace archinstall on boot 2021-04-10 17:59:59 -04:00
Dylan M. Taylor 92b8143743 Build Arch Live ISO with Each Commit
The bind mount is probably not necessary
2021-04-10 17:32:43 -04:00
Anton Hvornum 233886f9c5
Created a GitHub action to publish to pypi 2021-03-22 13:58:35 +01:00