Skip to content

Commit

Permalink
chore: update license references
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam Harrison committed Oct 27, 2020
1 parent b42050c commit b360223
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
include README.rst
include LICENSE.md
include LICENSE
include app.json
include Procfile
include requirements.txt
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
[![codecov](https://img.shields.io/codecov/c/github/sendgrid/sendgrid-python/main.svg?style=flat-square&label=Codecov+Coverage)](https://codecov.io/gh/sendgrid/sendgrid-python)
[![Docker Badge](https://img.shields.io/docker/automated/sendgrid/sendgrid-python.svg)](https://hub.docker.com/r/sendgrid/sendgrid-python/)
[![Email Notifications Badge](https://dx.sendgrid.com/badge/python)](https://dx.sendgrid.com/newsletter/python)
[![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](./LICENSE.md)
[![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)
[![Twitter Follow](https://img.shields.io/twitter/follow/sendgrid.svg?style=social&label=Follow)](https://twitter.com/sendgrid)
[![GitHub contributors](https://img.shields.io/github/contributors/sendgrid/sendgrid-python.svg)](https://github.com/sendgrid/sendgrid-python/graphs/contributors)
[![Open Source Helpers](https://www.codetriage.com/sendgrid/sendgrid-python/badges/users.svg)](https://www.codetriage.com/sendgrid/sendgrid-python)
Expand Down Expand Up @@ -221,4 +221,4 @@ If you've instead found a bug in the library or would like new features added, g

<a name="license"></a>
# License
[The MIT License (MIT)](LICENSE.md)
[The MIT License (MIT)](LICENSE)
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ License
.. _Improvements to the Codebase: https://github.com/sendgrid/sendgrid-python/blob/HEAD/CONTRIBUTING.md#improvements-to-the-codebase
.. _Review Pull Requests: https://github.com/sendgrid/sendgrid-python/blob/HEAD/CONTRIBUTING.md#code-reviews
.. _troubleshooting guide: https://github.com/sendgrid/sendgrid-python/blob/HEAD/TROUBLESHOOTING.md
.. _The MIT License (MIT): https://github.com/sendgrid/sendgrid-python/blob/HEAD/LICENSE.md
.. _The MIT License (MIT): https://github.com/sendgrid/sendgrid-python/blob/HEAD/LICENSE

.. |Travis Badge| image:: https://travis-ci.org/sendgrid/sendgrid-python.svg?branch=main
:target: https://travis-ci.org/sendgrid/sendgrid-python
Expand All @@ -301,7 +301,7 @@ License
.. |Email Notifications Badge| image:: https://dx.sendgrid.com/badge/python
:target: https://dx.sendgrid.com/newsletter/python
.. |MIT licensed| image:: https://img.shields.io/badge/license-MIT-blue.svg
:target: ./LICENSE.md
:target: ./LICENSE
.. |Twitter Follow| image:: https://img.shields.io/twitter/follow/sendgrid.svg?style=social&label=Follow
:target: https://twitter.com/sendgrid
.. |GitHub contributors| image:: https://img.shields.io/github/contributors/sendgrid/sendgrid-python.svg
Expand Down
4 changes: 2 additions & 2 deletions test/test_project.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ def test_contributing(self):
def test_issue_template(self):
self.assertTrue(os.path.isfile('./ISSUE_TEMPLATE.md'))

# ./LICENSE.md
# ./LICENSE
def test_license(self):
self.assertTrue(os.path.isfile('./LICENSE.md'))
self.assertTrue(os.path.isfile('./LICENSE'))

# ./PULL_REQUEST_TEMPLATE.md
def test_pr_template(self):
Expand Down
2 changes: 1 addition & 1 deletion test/test_sendgrid.py
Original file line number Diff line number Diff line change
Expand Up @@ -2297,7 +2297,7 @@ def test_whitelabel_links__link_id__subuser_post(self):
self.assertEqual(response.status_code, 200)

def test_license_year(self):
LICENSE_FILE = 'LICENSE.md'
LICENSE_FILE = 'LICENSE'
copyright_line = ''
with open(LICENSE_FILE, 'r') as f:
for line in f:
Expand Down

0 comments on commit b360223

Please sign in to comment.