diff --git a/LICENSE b/LICENSE index 6ff48a8..543cbf8 100644 --- a/LICENSE +++ b/LICENSE @@ -2,9 +2,6 @@ MIT License Copyright (c) 2024 Chris Arderne -Significant parts of this codebase come from python-polylith -Copyright (c) 2022 David Vujic - Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights diff --git a/README.md b/README.md index 605665f..15d4316 100644 --- a/README.md +++ b/README.md @@ -170,4 +170,4 @@ Then open a PR. ## License Una is distributed under the terms of the MIT license. -Significant parts of the code are from the [python-polylith](https://github.com/DavidVujic/python-polylith) project (c) 2022 David Vujic +Some code is from the [python-polylith](https://github.com/DavidVujic/python-polylith) project (c) 2022 David Vujic diff --git a/una/check.py b/una/check.py index 6f832f2..e66e174 100644 --- a/una/check.py +++ b/una/check.py @@ -1,3 +1,5 @@ +"""Code from https://github.com/DavidVujic/python-polylith""" + import difflib from pathlib import Path diff --git a/una/distributions.py b/una/distributions.py index e31a63d..a9ed901 100644 --- a/una/distributions.py +++ b/una/distributions.py @@ -1,3 +1,5 @@ +"""Code from https://github.com/DavidVujic/python-polylith""" + import importlib.metadata import re from functools import lru_cache, reduce diff --git a/una/files.py b/una/files.py index d34a7cd..de10c04 100644 --- a/una/files.py +++ b/una/files.py @@ -42,7 +42,7 @@ """ _EXAMPLE_APP_CODE = """\ -import {ns}.{lib_name} as {lib_name} +from {ns} import {lib_name} def run() -> None: diff --git a/una/stdlib.py b/una/stdlib.py index 23fadda..4954d43 100644 --- a/una/stdlib.py +++ b/una/stdlib.py @@ -1,4 +1,4 @@ -"""Borrowed from github.com/PyCQA/isort library. Thank you!""" +"""From github.com/PyCQA/isort library.""" import sys