Skip to content

Commit

Permalink
update project files (#216)
Browse files Browse the repository at this point in the history
* remove minimal test env

* run docs tox env by default

* remove setuptools files

* add .editorconfig

* update .gitignore

* update README.md

add pallets-eco notice
remove install and links

* changes in markdown, consistent style

* update license

* update docs

clean up index
use furo theme
link to references
split api into separate page, add notice
add license page
remove theme folder
remove old logo
remove make files, use tox env instead

* update dev dependencies

add typing env

* add mypy, pyright, and coverage config

* start version 0.10.0
  • Loading branch information
davidism authored May 23, 2024
1 parent 46bddb7 commit 1932b74
Show file tree
Hide file tree
Showing 33 changed files with 563 additions and 655 deletions.
13 changes: 13 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
root = true

[*]
indent_style = space
indent_size = 4
insert_final_newline = true
trim_trailing_whitespace = true
end_of_line = lf
charset = utf-8
max_line_length = 88

[*.{css,html,js,json,jsx,scss,ts,tsx,yaml,yml}]
indent_size = 2
2 changes: 1 addition & 1 deletion .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ Ensure each step in the contributing guide is complete, especially the following
- Add tests that demonstrate the correct behavior of the change. Tests
should fail without the change.
- Add or update relevant docs, in the docs folder and in code.
- Add an entry in CHANGES.rst summarizing the change and linking to the issue.
- Add an entry in CHANGES.md summarizing the change and linking to the issue.
- Add `.. versionchanged::` entries in any relevant code docs.
-->
1 change: 0 additions & 1 deletion .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ jobs:
- {python: '3.10'}
- {python: '3.9'}
- {python: '3.8'}
- {name: Minimal, python: '3.12', tox: minimal}
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0
Expand Down
37 changes: 10 additions & 27 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,27 +1,10 @@
*.py[co]

# Packages
*.egg
*.egg-info
dist
*build
eggs
parts
bin
var
sdist
develop-eggs
.installed.cfg

# Installer logs
pip-log.txt

# Unit test / coverage reports
.coverage
.tox

#Translations
*.mo

#Mr Developer
.mr.developer.cfg
.idea/
.vscode/
.venv*/
venv*/
__pycache__/
dist/
.coverage*
htmlcov/
.tox/
docs/_build/
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ ci:
autoupdate_schedule: monthly
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.4.2
rev: v0.4.5
hooks:
- id: ruff
- id: ruff-format
Expand Down
112 changes: 0 additions & 112 deletions CHANGES

This file was deleted.

108 changes: 108 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
## Version 0.10.0

Unreleased

- Drop support for Python < 3.8.
- Use `pyproject.toml` for packaging metadata.
- Use `flit_core` as build backend.
- Apply code formatting and linting tools.


## Version 0.9.1

Released 2014-09-28

- Add an option for force ASCII file attachments
- Fix `force_text` function
- Fix some Python 3 support regarding email policy.
- Support ESMTP options.
- Fix various Unicode issues related to message attachments, subjects, and
email addresses.


## Version 0.9.0

Released 2013-06-14

- Add initial Python 3 support.


## Version 0.8.2

Released 2013-04-11

- Remove stray `print` statement.


## Version 0.8.1

Released 2013-04-04

- Fix a bug with the new state object.


## Version 0.8.0

Released 2013-04-03

- Fix a bug with duplicate recipients.
- Change configuration options to be less confusing. Update settings accordin
ly:
- `DEFAULT_MAIL_SENDER` is now `MAIL_DEFAULT_SENDER`.
- `DEFAULT_MAX_EMAILS` is now `MAIL_MAX_EMAILS`.
- `MAIL_FAIL_SILENTLY` is no longer used.
- `MAIL_SUPPRESS_SEND` now defaults to `TESTING` setting value.
- General API cleanup as things were happening in a few different places.


## Version 0.7.6

Released 2013-03-11

- Fix bug with cc, and bcc fields not being lists.


## Version 0.7.5

Released 2013-03-03

- Fix bug with non-ascii characters in email address.
- `MAIL_FAIL_SILENTLY` config value defaults to `False`.
- Bcc header no longer set as some mail servers forward it to the recipient.


## Version 0.7.4

Released 2012-11-20

- Allow messages to be sent without a body.


## Version 0.7.3

Released 2012-09-27

- Add `extra_headers` to `Message` class.


## Version 0.7.2

Released 2012-09-16

- Add `__str__` method to `Message` class.
- Add message character set option which defaults to utf-8.


## Version 0.7.1

Released 2012-09-05

- Date and message ID headers specified.


## Version 0.7.0

Released 2012-08-29

- Initial development by Dan Jacob and Ron DuPlain. Previously there was not a
change log.
31 changes: 0 additions & 31 deletions LICENSE

This file was deleted.

28 changes: 28 additions & 0 deletions LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
BSD 3-Clause License

Copyright (c) 2010 Pallets

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.

3. Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
6 changes: 0 additions & 6 deletions MANIFEST.in

This file was deleted.

Loading

0 comments on commit 1932b74

Please sign in to comment.