mirror of
https://github.com/domainaware/parsedmarc.git
synced 2026-02-17 07:03:58 +00:00
- Updated `extract_report` to handle various input types more robustly, removing unnecessary complexity and improving error handling. - Simplified the handling of file-like objects and added checks for binary mode. - Enhanced the `parse_report_email` function to streamline input processing and improve type handling. - Introduced TypedDicts for better type safety in `utils.py`, specifically for reverse DNS and IP address information. - Refined the configuration loading in `cli.py` to ensure boolean values are consistently cast to `bool`. - Improved overall code readability and maintainability by restructuring and clarifying logic in several functions.
166 lines
3.0 KiB
JSON
166 lines
3.0 KiB
JSON
{
|
|
"[python]": {
|
|
"editor.defaultFormatter": "charliermarsh.ruff",
|
|
"editor.formatOnSave": true,
|
|
|
|
// Let Ruff handle lint fixes + import sorting on save
|
|
"editor.codeActionsOnSave": {
|
|
"source.fixAll.ruff": "explicit",
|
|
"source.organizeImports.ruff": "explicit"
|
|
}
|
|
},
|
|
"markdownlint.config": {
|
|
"MD024": false
|
|
},
|
|
"cSpell.words": [
|
|
"adkim",
|
|
"akamaiedge",
|
|
"amsmath",
|
|
"andrewmcgilvray",
|
|
"arcname",
|
|
"aspf",
|
|
"autoclass",
|
|
"automodule",
|
|
"backported",
|
|
"bellsouth",
|
|
"boto",
|
|
"brakhane",
|
|
"Brightmail",
|
|
"CEST",
|
|
"CHACHA",
|
|
"checkdmarc",
|
|
"Codecov",
|
|
"confnew",
|
|
"dateparser",
|
|
"dateutil",
|
|
"Davmail",
|
|
"DBIP",
|
|
"dearmor",
|
|
"deflist",
|
|
"devel",
|
|
"DMARC",
|
|
"Dmarcian",
|
|
"dnspython",
|
|
"dollarmath",
|
|
"dpkg",
|
|
"exampleuser",
|
|
"expiringdict",
|
|
"fieldlist",
|
|
"GELF",
|
|
"genindex",
|
|
"geoip",
|
|
"geoipupdate",
|
|
"Geolite",
|
|
"geolocation",
|
|
"githubpages",
|
|
"Grafana",
|
|
"hostnames",
|
|
"htpasswd",
|
|
"httpasswd",
|
|
"httplib",
|
|
"ifhost",
|
|
"IMAP",
|
|
"imapclient",
|
|
"infile",
|
|
"Interaktive",
|
|
"IPDB",
|
|
"journalctl",
|
|
"kafkaclient",
|
|
"keepalive",
|
|
"keyout",
|
|
"keyrings",
|
|
"Leeman",
|
|
"libemail",
|
|
"linkify",
|
|
"LISTSERV",
|
|
"loganalytics",
|
|
"lxml",
|
|
"mailparser",
|
|
"mailrelay",
|
|
"mailsuite",
|
|
"maxdepth",
|
|
"MAXHEADERS",
|
|
"maxmind",
|
|
"mbox",
|
|
"mfrom",
|
|
"mhdw",
|
|
"michaeldavie",
|
|
"mikesiegel",
|
|
"Mimecast",
|
|
"mitigations",
|
|
"MMDB",
|
|
"modindex",
|
|
"msgconvert",
|
|
"msgraph",
|
|
"MSSP",
|
|
"multiprocess",
|
|
"Munge",
|
|
"ndjson",
|
|
"newkey",
|
|
"Nhcm",
|
|
"nojekyll",
|
|
"nondigest",
|
|
"nosecureimap",
|
|
"nosniff",
|
|
"nwettbewerb",
|
|
"opensearch",
|
|
"opensearchpy",
|
|
"parsedmarc",
|
|
"passsword",
|
|
"pbar",
|
|
"Postorius",
|
|
"premade",
|
|
"privatesuffix",
|
|
"procs",
|
|
"publicsuffix",
|
|
"publicsuffixlist",
|
|
"publixsuffix",
|
|
"pygelf",
|
|
"pypy",
|
|
"pytest",
|
|
"quickstart",
|
|
"Reindex",
|
|
"replyto",
|
|
"reversename",
|
|
"Rollup",
|
|
"Rpdm",
|
|
"SAMEORIGIN",
|
|
"sdist",
|
|
"Servernameone",
|
|
"setuptools",
|
|
"smartquotes",
|
|
"SMTPTLS",
|
|
"sortlists",
|
|
"sortmaps",
|
|
"sourcetype",
|
|
"STARTTLS",
|
|
"tasklist",
|
|
"timespan",
|
|
"tlsa",
|
|
"tlsrpt",
|
|
"toctree",
|
|
"TQDDM",
|
|
"tqdm",
|
|
"truststore",
|
|
"Übersicht",
|
|
"uids",
|
|
"Uncategorized",
|
|
"unparasable",
|
|
"uper",
|
|
"urllib",
|
|
"Valimail",
|
|
"venv",
|
|
"Vhcw",
|
|
"viewcode",
|
|
"virtualenv",
|
|
"WBITS",
|
|
"webmail",
|
|
"Wettbewerber",
|
|
"Whalen",
|
|
"whitespaces",
|
|
"xennn",
|
|
"xmltodict",
|
|
"xpack",
|
|
"zscholl"
|
|
],
|
|
} |