Skip to content
This repository has been archived by the owner on Jun 25, 2020. It is now read-only.

Commit

Permalink
Merge pull request #2 from sk-/author
Browse files Browse the repository at this point in the history
Updated author information to point to my fork instead of Deezer's repo
  • Loading branch information
sk- committed Dec 12, 2015
2 parents 367e4e8 + abfd161 commit 95d1b1e
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 16 deletions.
4 changes: 0 additions & 4 deletions .coveragerc
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,3 @@ omit =
*/site-packages/ordereddict.py
*/site-packages/nose/*
*/unittest2/*

exclude_lines =
# Have to re-enable the standard pragma
pragma: no cover
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
sudo: false
language: python
python:
- "2.7"
- "3.2"
- "3.3"
- "3.4"
# command to install dependencies
Expand Down
14 changes: 7 additions & 7 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ HTML Linter
.. image:: https://badge.fury.io/py/html-linter.png
:target: http://badge.fury.io/py/html-linter

.. image:: https://travis-ci.org/deezer/html-linter.png?branch=master
:target: https://travis-ci.org/deezer/html-linter
.. image:: https://travis-ci.org/sk-/html-linter.png?branch=master
:target: https://travis-ci.org/sk-/html-linter

.. image:: https://coveralls.io/repos/deezer/html-linter/badge.png?branch=master
:target: https://coveralls.io/r/deezer/html-linter?branch=master
.. image:: https://coveralls.io/repos/sk-/html-linter/badge.png?branch=master
:target: https://coveralls.io/r/sk-/html-linter?branch=master


HTML Linter is an HTML5 linter that follows the style guide defined by Google.
Expand All @@ -24,7 +24,7 @@ That's why we decided to have an automated tool to check our coding standard.

We start with the
`Google standard <https://google-styleguide.googlecode.com/svn/trunk/htmlcssguide.xml>`_
and we enhance it with some extra rules deinfed by the project
and we enhance it with some extra rules defined by the project
`html-minifier <https://github.com/kangax/html-minifier>`_. You can read his
detailed `article <http://perfectionkills.com/experimenting-with-html-minifier/#remove_redundant_attributes>`_.

Expand All @@ -37,14 +37,14 @@ The list of extra rules we added are:
* Javascript:void(0) links are evil.
* onclick='javascript: ...' is not required. This will raise also a Concerns Separation error.
* meta http-equiv: use only standard properties + X-UA-compatible
* No extra whitespaces between attributes or before the opening or closing tag.
* No extra white-spaces between attributes or before the opening or closing tag.

What is missing?
----------------

Check if the file has BOM.

The abbility to validate the HTML using the tool
The ability to validate the HTML using the tool
`HTML5 tidy <https://w3c.github.io/tidy-html5/>`_ and to integrate some
schema.org or microdata validator.

Expand Down
8 changes: 4 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Copyright 2014 Deezer (http://www.deezer.com)
# Copyright 2015 Sebastian Kreft
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand All @@ -20,9 +21,9 @@
version='0.1.9',
description='Lints an HTML5 file using Google\'s style guide',
long_description=open('README.rst').read(),
author='Sebastian Kreft - Deezer',
author_email='skreft@deezer.com',
url='http://github.com/deezer/html-linter',
author='Sebastian Kreft',
author_email='skreft@gmail.com',
url='http://github.com/sk-/html-linter',
py_modules=['html_linter'],
install_requires=['template-remover', 'docopt>=0.6.1'],
tests_require=['nose>=1.3'],
Expand All @@ -36,7 +37,6 @@
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Topic :: Software Development',
Expand Down

0 comments on commit 95d1b1e

Please sign in to comment.