Closed NGoetz closed 2 weeks ago
Btw wherever it says decide, your comments are appreciated.
Dummy and BaseStorer are moved to the directory. Changing to object analysis will be done in a separate PR.
Static typing has been taken care of.
There is one weird test which is failing, and the documentation has to be written. Apart from this, the PR is ready to go. Regarding the formatter: locally if I run the same command as in the github action, it tells me that nothing is to be changed. There must be some issue with it. I have version 21.12, pytoml is identical. Any idea @Hendrik1704 ?
Can you try to run with a similar setup as in the workflow:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install black==24.8.0
- name: Check code formatting
run: |
black --check --line-length 80 src/sparkx tests/
Yes, it says again 49 files left unchanged.
I don't understand it.
Can you check it out and test it locally?
On Wed, 28 Aug 2024, 19:27 Hendrik Roch, @.***> wrote:
I don't understand it.
— Reply to this email directly, view it on GitHub https://github.com/smash-transport/sparkx/pull/268#issuecomment-2315900836, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADTRQNYGFWHP4RQRGIKFWJDZTYCBTAVCNFSM6AAAAABMEV2J4WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMJVHEYDAOBTGY . You are receiving this because you authored the thread.Message ID: @.***>
I applied the code formatter locally and now the action is successful. Only the issue with one of the tests is still there.
Though that fixes the formatting action, I still wonder why the formatter on my machine was not working in the first place. We should figure this out. Especially because it was the same version of black after all. With the current state it would tell me to reformat.
I've changed the formatting action such that before the format check it performs a reformatting of the branch and if there is something not correctly formatted, it will create a commit (see last two commits).
This is a draft PR, because there are multiple ToDos left:
particle_objects_list
anymoreI want you two to go through this till the next sprint nevertheless. I need you to tell me if the architecture makes sense for you like this, if I broke anything/forgot anything, if any improvements are wanted etc. etc.. Be strict.