Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add reuse headers to every file #242

Merged
merged 2 commits into from
Nov 6, 2023
Merged

Add reuse headers to every file #242

merged 2 commits into from
Nov 6, 2023

Conversation

maurerle
Copy link
Member

@maurerle maurerle commented Nov 6, 2023

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

pipx install reuse
pipx init
pipx run reuse lint
reuse annotate --license AGPL-3.0-or-later --recursive --copyright "ASSUME Developers" --exclude-year --skip-unrecognised .
@maurerle maurerle requested a review from nick-harder November 6, 2023 10:10
Copy link

codecov bot commented Nov 6, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

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

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #242   +/-   ##
=======================================
  Coverage   78.13%   78.13%           
=======================================
  Files          40       40           
  Lines        4198     4198           
=======================================
  Hits         3280     3280           
  Misses        918      918           
Flag Coverage Δ
pytest 78.13% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
assume/__init__.py 100.00% <ø> (ø)
assume/cli.py 86.20% <ø> (ø)
assume/common/__init__.py 100.00% <ø> (ø)
assume/common/base.py 78.92% <ø> (ø)
assume/common/exceptions.py 0.00% <ø> (ø)
assume/common/forecasts.py 85.36% <ø> (ø)
assume/common/mango_serializer.py 58.06% <ø> (ø)
assume/common/market_objects.py 100.00% <ø> (ø)
assume/common/outputs.py 50.00% <ø> (ø)
assume/common/scenario_loader.py 88.77% <ø> (ø)
... and 30 more

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@nick-harder
Copy link
Member

Ich hoffe, das ganze war von REUSE automatisiert, hahaha

@maurerle
Copy link
Member Author

maurerle commented Nov 6, 2023

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 :)

@maurerle maurerle merged commit 17dc980 into main Nov 6, 2023
4 checks passed
@maurerle maurerle deleted the reuse branch November 6, 2023 10:48
@nick-harder nick-harder mentioned this pull request Nov 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants