assume-framework / assume

ASSUME - Agent-based Simulation for Studying and Understanding Market Evolution
https://assume.readthedocs.io
23 stars 9 forks source link

Add reuse headers to every file #242

Closed maurerle closed 12 months ago

maurerle commented 12 months ago

The reuse specification is quite strict. I don't like the added files in the inputs folder a lot, but that's the way it is. I see myself in the comment from the reuse page:

think that .license files clutter the directory, or find it very strange that even insignificant non-code files get licensing headers.

https://reuse.software/faq/#tradition

codecov[bot] commented 12 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (e537ad6) 78.13% compared to head (1610991) 78.13%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #242 +/- ## ======================================= Coverage 78.13% 78.13% ======================================= Files 40 40 Lines 4198 4198 ======================================= Hits 3280 3280 Misses 918 918 ``` | [Flag](https://app.codecov.io/gh/assume-framework/assume/pull/242/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=assume-framework) | Coverage Δ | | |---|---|---| | [pytest](https://app.codecov.io/gh/assume-framework/assume/pull/242/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=assume-framework) | `78.13% <ø> (ø)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=assume-framework#carryforward-flags-in-the-pull-request-comment) to find out more. | [Files](https://app.codecov.io/gh/assume-framework/assume/pull/242?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=assume-framework) | Coverage Δ | | |---|---|---| | [assume/\_\_init\_\_.py](https://app.codecov.io/gh/assume-framework/assume/pull/242?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=assume-framework#diff-YXNzdW1lL19faW5pdF9fLnB5) | `100.00% <ø> (ø)` | | | [assume/cli.py](https://app.codecov.io/gh/assume-framework/assume/pull/242?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=assume-framework#diff-YXNzdW1lL2NsaS5weQ==) | `86.20% <ø> (ø)` | | | [assume/common/\_\_init\_\_.py](https://app.codecov.io/gh/assume-framework/assume/pull/242?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=assume-framework#diff-YXNzdW1lL2NvbW1vbi9fX2luaXRfXy5weQ==) | `100.00% <ø> (ø)` | | | [assume/common/base.py](https://app.codecov.io/gh/assume-framework/assume/pull/242?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=assume-framework#diff-YXNzdW1lL2NvbW1vbi9iYXNlLnB5) | `78.92% <ø> (ø)` | | | [assume/common/exceptions.py](https://app.codecov.io/gh/assume-framework/assume/pull/242?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=assume-framework#diff-YXNzdW1lL2NvbW1vbi9leGNlcHRpb25zLnB5) | `0.00% <ø> (ø)` | | | [assume/common/forecasts.py](https://app.codecov.io/gh/assume-framework/assume/pull/242?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=assume-framework#diff-YXNzdW1lL2NvbW1vbi9mb3JlY2FzdHMucHk=) | `85.36% <ø> (ø)` | | | [assume/common/mango\_serializer.py](https://app.codecov.io/gh/assume-framework/assume/pull/242?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=assume-framework#diff-YXNzdW1lL2NvbW1vbi9tYW5nb19zZXJpYWxpemVyLnB5) | `58.06% <ø> (ø)` | | | [assume/common/market\_objects.py](https://app.codecov.io/gh/assume-framework/assume/pull/242?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=assume-framework#diff-YXNzdW1lL2NvbW1vbi9tYXJrZXRfb2JqZWN0cy5weQ==) | `100.00% <ø> (ø)` | | | [assume/common/outputs.py](https://app.codecov.io/gh/assume-framework/assume/pull/242?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=assume-framework#diff-YXNzdW1lL2NvbW1vbi9vdXRwdXRzLnB5) | `50.00% <ø> (ø)` | | | [assume/common/scenario\_loader.py](https://app.codecov.io/gh/assume-framework/assume/pull/242?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=assume-framework#diff-YXNzdW1lL2NvbW1vbi9zY2VuYXJpb19sb2FkZXIucHk=) | `88.77% <ø> (ø)` | | | ... and [30 more](https://app.codecov.io/gh/assume-framework/assume/pull/242?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=assume-framework) | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

nick-harder commented 12 months ago

Ich hoffe, das ganze war von REUSE automatisiert, hahaha

maurerle commented 12 months ago

Ja es war tatsächlich nur:

pipx install reuse
pipx run reuse init
pipx run reuse annotate --license AGPL-3.0-or-later --recursive --copyright "ASSUME Developers" --exclude-year --skip-unrecognised .
pipx run reuse lint

Dann merge ich es jetzt :)