Skip to content

Commit

Permalink
refactor: code cleanup for spf.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jimbrig authored May 4, 2024
1 parent f1d3a3e commit 9a22cce
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions src/emaildnscheck/spf.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,20 +20,6 @@
DNSExceptionNXDOMAIN,
)

"""Copyright 2019-2023 Sean Whalen
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License."""

SPF_VERSION_TAG_REGEX_STRING = "v=spf1"
SPF_MECHANISM_REGEX_STRING = (
r"([+\-~?])?(mx|ip4|ip6|exists|include|all|a|redirect|exp|ptr)"
Expand Down

0 comments on commit 9a22cce

Please sign in to comment.