Skip to content

Commit 5c3498d

Browse files
committed
Fix merge conflict, turn of html name linting to allow BEM syntax
1 parent 1ab90de commit 5c3498d

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ saucelabs:
115115
lint: .state/env/pyvenv.cfg
116116
$(BINDIR)/flake8 .
117117
$(BINDIR)/doc8 --allow-long-titles README.rst CONTRIBUTING.rst docs/ --ignore-path docs/_build/
118-
$(BINDIR)/html_lint.py --disable=optional_tag `find ./warehouse/templates -path ./warehouse/templates/legacy -prune -o -name '*.html' -print`
118+
$(BINDIR)/html_lint.py --disable=optional_tag,names `find ./warehouse/templates -path ./warehouse/templates/legacy -prune -o -name '*.html' -print`
119119
./node_modules/.bin/eslint 'warehouse/static/js/**'
120120

121121

warehouse/templates/base.html

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,8 @@
5353

5454
<form class="search-form search-form--primary" action="{{ request.route_path('search') }}">
5555
<label for="search" class="sr-only">Search PyPI</label>
56-
<<<<<<< 987b739e87af5d503f7b54b93ab50b82adf4388a
57-
<input id="search" class="search" type="text" name="q" {{ l20n("search") }} placeholder="Search Projects" value="{{ term }}">
58-
<input class="button button--dark" type="submit" {{ l20n("search") }} value="Search">
59-
=======
60-
<input id="search" class="search-form__search" type="text" name="q" {{ l20n("search") }} placeholder="Search Packages" value="{{ term }}">
56+
<input id="search" class="search-form__search" type="text" name="q" {{ l20n("search") }} placeholder="Search Projects" value="{{ term }}">
6157
<input class="search-form__button button button--dark" type="submit" {{ l20n("search") }} value="Search">
62-
>>>>>>> Continue BEM refactor
6358
</form>
6459
</div>
6560
{% endblock %}

0 commit comments

Comments
 (0)