mirror of
https://github.com/MadsLorentzen/ai-job-search.git
synced 2026-09-17 08:36:25 +00:00
fix(security-guards): sync gitignore guard with the Cover_*.* and cv/*.txt rules
Two personal-data ignore rules existed in .gitignore but not in REQUIRED_IGNORE_RULES, so a change weakening either would have passed CI: cover_letters/Cover_*.* (the uppercase naming variant /apply recognizes) and cv/*.txt (ATS text extractions of tailored CVs). Also: regression tests pinning #252's ragged-row bounds fix in convert_salary_excel.py (mutation-verified), and removal of the vestigial cover_letters/OpenFonts/cover.cls, which since #252's rename ambiguously declared the same class as the real cover.cls (zero references; cover letter re-compiled and page-verified after removal). Guard-list gap surfaced by CodeRabbit's review on jakob1379's Nix demo fork PR (jakob1379/ai-job-search#1). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Fable 5
parent
f220d92495
commit
2c41210019
@@ -1,101 +0,0 @@
|
||||
% Intro Options
|
||||
\ProvidesClass{cover}[2024/04/30 Cover letter class]
|
||||
\NeedsTeXFormat{LaTeX2e}
|
||||
\DeclareOption{print}{\def\@cv@print{}}
|
||||
\DeclareOption*{%
|
||||
\PassOptionsToClass{\CurrentOption}{article}
|
||||
}
|
||||
\ProcessOptions\relax
|
||||
\LoadClass{article}
|
||||
|
||||
% Package Imports
|
||||
\usepackage[hmargin=2.54cm, vmargin=2.54cm]{geometry}
|
||||
\usepackage[hidelinks]{hyperref}
|
||||
\usepackage[usenames,dvipsnames]{xcolor}
|
||||
\usepackage{titlesec}
|
||||
\usepackage[absolute]{textpos}
|
||||
\usepackage{fontspec,xltxtra,xunicode}
|
||||
|
||||
% Publications
|
||||
\usepackage{cite}
|
||||
\renewcommand\refname{\vskip -1.5cm}
|
||||
|
||||
% Color definitions
|
||||
\usepackage[usenames,dvipsnames]{xcolor}
|
||||
\definecolor{date}{HTML}{666666}
|
||||
\definecolor{primary}{HTML}{2b2b2b}
|
||||
\definecolor{headings}{HTML}{6A6A6A}
|
||||
\definecolor{subheadings}{HTML}{333333}
|
||||
|
||||
% Set main fonts
|
||||
\usepackage{fontspec}
|
||||
\setmainfont[Color=primary, Path = OpenFonts/fonts/lato/,BoldItalicFont=Lato-RegIta,BoldFont=Lato-Reg,ItalicFont=Lato-LigIta]{Lato-Lig}
|
||||
\setsansfont[Scale=MatchLowercase,Mapping=tex-text, Path = OpenFonts/fonts/raleway/]{Raleway-ExtraLight}
|
||||
|
||||
% Date command
|
||||
\usepackage[absolute]{textpos}
|
||||
% \usepackage[UKenglish]{isodate}
|
||||
\setlength{\TPHorizModule}{1mm}
|
||||
\setlength{\TPVertModule}{1mm}
|
||||
\newcommand{\lastupdated}{\begin{textblock}{60}(155,5)
|
||||
\color{date}\fontspec[Path = fonts/raleway/]{Raleway-ExtraLight}\fontsize{8pt}{10pt}\selectfont
|
||||
Last Updated on \today
|
||||
\end{textblock}}
|
||||
|
||||
% Name command
|
||||
\newcommand{\namesection}[3]{
|
||||
\centering{
|
||||
\fontsize{40pt}{60pt}
|
||||
\fontspec[Path = fonts/lato/]{Lato-Hai}\selectfont #1
|
||||
\fontspec[Path = fonts/lato/]{Lato-Lig}\selectfont #2
|
||||
} \\[5pt]
|
||||
\centering{
|
||||
\color{headings}
|
||||
\fontspec[Path = fonts/raleway/]{Raleway-Medium}\fontsize{11pt}{14pt}\selectfont #3}
|
||||
\noindent\makebox[\linewidth]{\color{headings}\rule{\paperwidth}{0.0pt}}
|
||||
\vspace{0pt}
|
||||
}
|
||||
|
||||
% Section seperators
|
||||
\usepackage{titlesec}
|
||||
\titlespacing{\section}{0pt}{0pt}{0pt}
|
||||
\titlespacing{\subsection}{0pt}{0pt}{0pt}
|
||||
\newcommand{\sectionsep}{\vspace{8pt}}
|
||||
|
||||
% Headings command
|
||||
\titleformat{\section}{\color{headings}
|
||||
\scshape\fontspec[Path = fonts/lato/]{Lato-Lig}\fontsize{16pt}{24pt}\selectfont \raggedright\uppercase}{}{0em}{}
|
||||
|
||||
% Subeadings command
|
||||
\titleformat{\subsection}{
|
||||
\color{subheadings}\fontspec[Path = fonts/lato/]{Lato-Bol}\fontsize{12pt}{12pt}\selectfont\bfseries\uppercase}{}{0em}{}
|
||||
|
||||
\newcommand{\runsubsection}[1]{
|
||||
\color{subheadings}\fontspec[Path = fonts/lato/]{Lato-Bol}\fontsize{12pt}{12pt}\selectfont\bfseries\uppercase {#1} \normalfont}
|
||||
|
||||
% Descriptors command
|
||||
\newcommand{\descript}[1]{
|
||||
\color{subheadings}\raggedright\scshape\fontspec[Path = fonts/raleway/]{Raleway-Medium}\fontsize{11pt}{13pt}\selectfont {#1 \\} \normalfont}
|
||||
|
||||
% Location command
|
||||
\newcommand{\location}[1]{
|
||||
\color{headings}\raggedright\fontspec[Path = fonts/raleway/]{Raleway-Medium}\fontsize{10pt}{12pt}\selectfont {#1\\} \normalfont}
|
||||
|
||||
% Bullet Lists with fewer gaps command
|
||||
\newenvironment{tightemize}{
|
||||
\vspace{-\topsep}\begin{itemize}\itemsep1pt \parskip0pt \parsep0pt}
|
||||
{\end{itemize}\vspace{-\topsep}}
|
||||
|
||||
% Cover Letter
|
||||
\newcommand{\companyname}[1]{\raggedright\fontspec[Path = fonts/lato/]{Lato-Bol}\fontsize{12pt}{14pt}\selectfont {#1 \\} \normalfont}
|
||||
|
||||
\newcommand{\companyaddress}[1]{\raggedright\fontspec[Path = fonts/raleway/]{Raleway-Medium}\fontsize{11pt}{13pt}\selectfont {#1 \\}\mbox{}\\\mbox{}\\ \normalfont}
|
||||
|
||||
\newcommand{\currentdate}[1]{\raggedleft\fontspec[Path = fonts/raleway/]{Raleway-Medium}\fontsize{11pt}{13pt}\selectfont {#1 \\} \normalfont}
|
||||
|
||||
% Letter content command
|
||||
\newcommand{\lettercontent}[1]{\raggedright\fontspec[Path = fonts/raleway/]{Raleway-Medium}\fontsize{11pt}{13pt}\selectfont {#1 \\}\mbox{}\\ \normalfont}
|
||||
|
||||
\newcommand{\closing}[1]{\raggedright\fontspec[Path = fonts/raleway/]{Raleway-Medium}\fontsize{11pt}{13pt}\selectfont {#1 \\}\mbox{}\\\mbox{}\\ \normalfont}
|
||||
|
||||
\newcommand{\signature}[1]{\raggedright\fontspec[Path = fonts/raleway/]{Raleway-Medium}\fontsize{11pt}{13pt}\selectfont {#1 \\} \normalfont}
|
||||
Reference in New Issue
Block a user