From 5a6441a07c70e4bddd817341bd616814d1e455b8 Mon Sep 17 00:00:00 2001 From: David Hagen <david@drhagen.com> Date: Thu, 22 Jun 2023 20:17:27 -0400 Subject: [PATCH] Modernize .gitattributes and .gitignore (#92) --- .gitattributes | 15 +++++---------- .gitignore | 35 +++++++++++++++++++++++------------ 2 files changed, 28 insertions(+), 22 deletions(-) diff --git a/.gitattributes b/.gitattributes index 7e828f0..d215ade 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,11 +1,6 @@ -* text=auto +* text=auto -# General -*.txt text -*.md text -*.html text -*.xml text -*.c text - -# Python -*.py text +*.py text +*.md text +*.yml text +*.toml text diff --git a/.gitignore b/.gitignore index a57f96a..8e20198 100644 --- a/.gitignore +++ b/.gitignore @@ -1,12 +1,23 @@ -.idea -__pycache__ -.cache -.pytest_cache -.nox -parsita.egg-info -.coverage* -htmlcov -coverage.xml -build -dist -site +# python +**/__pycache__ + +# poetry +/.venv +/dist + +# nox +/.nox + +# pytest +**/.pytest_cache + +# coverage +/.coverage* +/htmlcov +/coverage.xml + +# ruff +/.ruff_cache + +# mkdocs +/site