Skip to content

Commit

Permalink
Merge pull request #1945 from laws-africa/precommit-map-fix
Browse files Browse the repository at this point in the history
don't change EOL for js map files
  • Loading branch information
longhotsummer authored Jul 30, 2024
2 parents 5709dd1 + e2a001d commit ee7774c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ repos:
- id: check-case-conflict
- id: check-yaml
- id: end-of-file-fixer
exclude_types: [pofile, javascript]
exclude_types: [pofile, javascript, map]
- id: trailing-whitespace
- id: mixed-line-ending
language_version: python3
Expand Down
5 changes: 2 additions & 3 deletions gazettes/urls.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
from django.conf.urls import url
from django.urls import include, path
from django.urls import include, path, re_path
from django.views.generic import RedirectView

from gazettes import views
Expand All @@ -11,7 +10,7 @@
path("gazettes", RedirectView.as_view(pattern_name="home")),
path("gazettes/<str:code>/", views.JurisdictionView.as_view(), name="jurisdiction"),
path("gazettes/<str:code>/<int:year>", views.YearView.as_view(), name="year"),
url(
re_path(
r"^gazettes/(?P<key>.{5,})$", views.OldGazetteView.as_view(), name="gazette_old"
),
path("", include("peachjam.urls")),
Expand Down

0 comments on commit ee7774c

Please sign in to comment.