Skip to content

mgeisler/clean-headers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

clean-headers

Build Status Coverage Status

This is a simple script for adding/removing Python/Ruby file encoding headers. This is headers line

# -*- coding: utf-8 -*-

found as the first or second line in a file. The line informs both Python/Ruby and Emacs about the encoding used in the file.

Contributing

Please open a pull request! Travis will test the code (including running it through pep8 and pyflakes) and let you know about the results. The test coverage will also be reported, please try to keep it as high as you found it.

Author

The first version was written by Martin Geisler. See the commit log for details.

License

The clean headers script is licensed under the MIT license.

About

Cleanup Python/Ruby file encoding headers

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published