mirror of
https://github.com/domainaware/parsedmarc.git
synced 2026-09-11 16:37:59 +00:00
- py/empty-except: add a short comment to each of the 10 flagged
`except <Type>: pass` blocks explaining why swallowing the
exception is correct there (best-effort cleanup/close, or
intentional fall-through to the next report format).
- py/unnecessary-lambda: replace `map(lambda x: parse_email_address(x), ...)`
with `map(parse_email_address, ...)` at the 5 flagged sites in
parsedmarc/utils.py; parse_email_address takes exactly one
positional argument, so this is behavior-preserving. Ran
`ruff format` afterward, which collapsed 3 of the now-shorter
calls onto single lines.
- py/imprecise-assert: replace `assertTrue(a > b)` / `assertTrue(a >= b)`
with `assertGreater(a, b)` / `assertGreaterEqual(a, b)` at the 9
flagged test sites; none carried a custom assertion message.
- .vscode/settings.json: drop three cSpell whitelist entries that are
pure misspellings ("passsword", "httpasswd", "unparasable") and
appear nowhere else in the tracked tree, so a recurrence of the typo
they used to hide (see #888) would be caught again. The correctly
spelled "htpasswd" and "unparseable" entries are untouched.
Verified clean: ruff check, ruff format --check, pyright (0
errors/warnings), and pytest tests/ (989 tests collected and passing
before and after, GITHUB_ACTIONS=true).
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
415 lines
7.4 KiB
JSON
415 lines
7.4 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.ignorePaths": [
|
|
"parsedmarc/resources/**",
|
|
"samples/**",
|
|
"dashboards/**"
|
|
],
|
|
"cSpell.words": [
|
|
"abbp",
|
|
"adkim",
|
|
"AFRINIC",
|
|
"akamaiedge",
|
|
"AKIA",
|
|
"amsmath",
|
|
"andrewmcgilvray",
|
|
"Angkasa",
|
|
"antipattern",
|
|
"aoss",
|
|
"apikey",
|
|
"APNIC",
|
|
"arcname",
|
|
"ARIN",
|
|
"asahi",
|
|
"aspf",
|
|
"autoclass",
|
|
"automodule",
|
|
"awssigv",
|
|
"AWSV",
|
|
"Ayuntamiento",
|
|
"backported",
|
|
"baltcom",
|
|
"Bankstown",
|
|
"bayii",
|
|
"behaviour",
|
|
"bellsouth",
|
|
"bestbuy",
|
|
"Bhozar",
|
|
"BIGSERIAL",
|
|
"biznesu",
|
|
"Boldyn",
|
|
"bombbomb",
|
|
"borschow",
|
|
"boto",
|
|
"brakhane",
|
|
"Brightmail",
|
|
"Brightspace",
|
|
"Buildtech",
|
|
"Cadian",
|
|
"cafile",
|
|
"Centrale",
|
|
"certfile",
|
|
"CEST",
|
|
"CFWS",
|
|
"CHACHA",
|
|
"charliermarsh",
|
|
"charrefs",
|
|
"checkdmarc",
|
|
"chello",
|
|
"choropleth",
|
|
"CLOUDFLARENET",
|
|
"Codecov",
|
|
"colour",
|
|
"Comune",
|
|
"Concentrix",
|
|
"confnew",
|
|
"cooldown",
|
|
"cornerstoneondemand",
|
|
"CPAN",
|
|
"cprapid",
|
|
"creds",
|
|
"csec",
|
|
"cust",
|
|
"cyberfolks",
|
|
"datagram",
|
|
"Datech",
|
|
"dateparser",
|
|
"dateutil",
|
|
"Davmail",
|
|
"DBIP",
|
|
"dbname",
|
|
"ddgs",
|
|
"dearmor",
|
|
"dedup",
|
|
"dedups",
|
|
"defaultdict",
|
|
"defence",
|
|
"deflist",
|
|
"descr",
|
|
"devel",
|
|
"DGRAM",
|
|
"Dienstleister",
|
|
"digicelgroup",
|
|
"digicelsr",
|
|
"disambiguator",
|
|
"dlivry",
|
|
"DMARC",
|
|
"Dmarcian",
|
|
"dnspython",
|
|
"dollarmath",
|
|
"domainaware",
|
|
"Dotdigital",
|
|
"dpkg",
|
|
"Draffin",
|
|
"electrolyser",
|
|
"Energia",
|
|
"enloe",
|
|
"EPEL",
|
|
"estudio",
|
|
"Evolus",
|
|
"exampleuser",
|
|
"expanduser",
|
|
"expandvars",
|
|
"expiringdict",
|
|
"faxpipe",
|
|
"fieldlist",
|
|
"fintech",
|
|
"firstlight",
|
|
"firstsourceweb",
|
|
"firstwave",
|
|
"foohost",
|
|
"footguns",
|
|
"freseniusmedicalcare",
|
|
"fromenv",
|
|
"fspath",
|
|
"gaierror",
|
|
"GELF",
|
|
"Genesys",
|
|
"genindex",
|
|
"geoip",
|
|
"geoipupdate",
|
|
"Geolite",
|
|
"geolocation",
|
|
"gerenciados",
|
|
"geteuid",
|
|
"getpid",
|
|
"getuid",
|
|
"Gigantara",
|
|
"githubpages",
|
|
"Gmina",
|
|
"goco",
|
|
"Grafana",
|
|
"greenecountyny",
|
|
"Gurgaon",
|
|
"helpforcb",
|
|
"henkel",
|
|
"homelab",
|
|
"homelabs",
|
|
"Hostinger",
|
|
"hostnames",
|
|
"htpasswd",
|
|
"httplib",
|
|
"hugedomains",
|
|
"idens",
|
|
"ifhost",
|
|
"IMAP",
|
|
"imapclient",
|
|
"infile",
|
|
"infogérance",
|
|
"informatiques",
|
|
"Interaktive",
|
|
"interstitials",
|
|
"IPDB",
|
|
"IPFS",
|
|
"ipinfo",
|
|
"isinstance",
|
|
"isready",
|
|
"journalctl",
|
|
"junitxml",
|
|
"kafkaclient",
|
|
"keepalive",
|
|
"keycorpgroup",
|
|
"keyout",
|
|
"keyrings",
|
|
"kiota",
|
|
"kwarg",
|
|
"kwargs",
|
|
"LACNIC",
|
|
"lancastergeneralhealth",
|
|
"lastik",
|
|
"Leeman",
|
|
"libemail",
|
|
"libpq",
|
|
"linkify",
|
|
"LISTSERV",
|
|
"localonly",
|
|
"lodestonegroup",
|
|
"loganalytics",
|
|
"Lojistik",
|
|
"Loomis",
|
|
"Ltda",
|
|
"Luxembourgish",
|
|
"lxml",
|
|
"Maildir",
|
|
"mailparser",
|
|
"mailrelay",
|
|
"mailsuite",
|
|
"MAINPID",
|
|
"maxdepth",
|
|
"MAXHEADERS",
|
|
"maxmind",
|
|
"maxminddb",
|
|
"mbox",
|
|
"mcdlv",
|
|
"mcsv",
|
|
"metacharacters",
|
|
"mfrom",
|
|
"mhdw",
|
|
"Miasta",
|
|
"Miasto",
|
|
"michaeldavie",
|
|
"mikesiegel",
|
|
"Mimecast",
|
|
"misattributed",
|
|
"mitigations",
|
|
"mktemp",
|
|
"MMDB",
|
|
"modindex",
|
|
"Mosquée",
|
|
"msgconvert",
|
|
"msgraph",
|
|
"MSSP",
|
|
"multiprocess",
|
|
"multivalued",
|
|
"Munge",
|
|
"myshopify",
|
|
"namespaceless",
|
|
"ndjson",
|
|
"Netease",
|
|
"Newfold",
|
|
"newkey",
|
|
"Newswire",
|
|
"Newtek",
|
|
"Nhcm",
|
|
"nitelusa",
|
|
"nobre",
|
|
"nobreinternet",
|
|
"nojekyll",
|
|
"nologin",
|
|
"nondigest",
|
|
"nordictelecom",
|
|
"NORDU",
|
|
"Norlys",
|
|
"nosecureimap",
|
|
"nosniff",
|
|
"nwettbewerb",
|
|
"NXDOMAIN",
|
|
"Oberoi",
|
|
"opensearch",
|
|
"opensearchpy",
|
|
"organisation",
|
|
"orgname",
|
|
"oxfordnetworks",
|
|
"Paltalk",
|
|
"parsedmarc",
|
|
"pawyo",
|
|
"pbar",
|
|
"penyedia",
|
|
"perfdrive",
|
|
"PGPASSWORD",
|
|
"pharma",
|
|
"pipefail",
|
|
"plog",
|
|
"pmarc",
|
|
"pneuservis",
|
|
"Postorius",
|
|
"premade",
|
|
"prestataire",
|
|
"privatesuffix",
|
|
"procs",
|
|
"psql",
|
|
"psycopg",
|
|
"publicsuffix",
|
|
"publicsuffixlist",
|
|
"publixsuffix",
|
|
"pura",
|
|
"pygelf",
|
|
"pyproject",
|
|
"pypy",
|
|
"pytest",
|
|
"qasl",
|
|
"quickstart",
|
|
"RDAP",
|
|
"rdns",
|
|
"readlines",
|
|
"rebrands",
|
|
"regusnet",
|
|
"Reindex",
|
|
"replyto",
|
|
"researchable",
|
|
"reversename",
|
|
"Rollup",
|
|
"Rostelecom",
|
|
"Rpdm",
|
|
"rsgsv",
|
|
"SAMEORIGIN",
|
|
"Sangoma",
|
|
"Sarenet",
|
|
"saunalahti",
|
|
"sdist",
|
|
"seanthegeek",
|
|
"sekret",
|
|
"sendgrid",
|
|
"Servernameone",
|
|
"SERVFAIL",
|
|
"serviços",
|
|
"setuid",
|
|
"setuptools",
|
|
"signum",
|
|
"Sigorta",
|
|
"Sikt",
|
|
"Sinch",
|
|
"smartquotes",
|
|
"SMTPTLS",
|
|
"socktype",
|
|
"solusi",
|
|
"sortlists",
|
|
"sortmaps",
|
|
"sourcetype",
|
|
"splunkd",
|
|
"sqls",
|
|
"sslmode",
|
|
"STARTTLS",
|
|
"subfolders",
|
|
"subzones",
|
|
"sungardas",
|
|
"Talkdesk",
|
|
"tasklist",
|
|
"Techexpert",
|
|
"telco",
|
|
"telcos",
|
|
"Telecomunicaciones",
|
|
"Telecomunicações",
|
|
"Telefónica",
|
|
"Telekommunikation",
|
|
"Telekomunikasyon",
|
|
"Teleperformance",
|
|
"Telus",
|
|
"testpaths",
|
|
"tigobusiness",
|
|
"timechart",
|
|
"timespan",
|
|
"timespans",
|
|
"timestamptz",
|
|
"tlsa",
|
|
"tlsrpt",
|
|
"tmddedicated",
|
|
"toctree",
|
|
"tolower",
|
|
"TQDDM",
|
|
"tqdm",
|
|
"treewalk",
|
|
"Treten",
|
|
"truststore",
|
|
"Tutanota",
|
|
"typosquats",
|
|
"uids",
|
|
"Ukrinfosystems",
|
|
"umbler",
|
|
"Uncategorized",
|
|
"unfindable",
|
|
"Uninett",
|
|
"unparseable",
|
|
"unwritable",
|
|
"uper",
|
|
"uplandsoftware",
|
|
"urllib",
|
|
"Urząd",
|
|
"usługi",
|
|
"Valimail",
|
|
"venv",
|
|
"Vertikal",
|
|
"Vhcw",
|
|
"viewcode",
|
|
"virtualenv",
|
|
"Voximplant",
|
|
"WBITS",
|
|
"webmail",
|
|
"webpass",
|
|
"WEMPI",
|
|
"Wettbewerber",
|
|
"Whalen",
|
|
"whalensolutions",
|
|
"whitespaces",
|
|
"WHOIS",
|
|
"worklist",
|
|
"Wylance",
|
|
"xennn",
|
|
"xmlchanged",
|
|
"xmlin",
|
|
"xmlnice",
|
|
"xmlout",
|
|
"xmltodict",
|
|
"xpack",
|
|
"zscholl",
|
|
"Übersicht",
|
|
"Şirketi",
|
|
"Δήμος",
|
|
"клуб",
|
|
"шиномонтаж",
|
|
"পবিত্র",
|
|
"মন্দির",
|
|
],
|
|
} |