Unverified Commit 94300f65 by Johannes vom Dorp Committed by GitHub

Merge pull request #7 from fkie-cad/refactored_encoding

SREC mime type improved
parents 1178267e 071dc35b
*.egg-info/
*.mgc
.cache/
.coverage
.idea/
......@@ -9,3 +11,4 @@
__pycache__/
bin/
build/
dist/
# ====================== encoded file types ======================
# Intel HEX
0 regex \^:[A-F0-9]{8,}$ Intel HEX
!:mime firmware/intel-hex
# Motorola S-Record
0 string S0
>2 regex [0-9A-F]{8,}$ Motorola S-Record; binary data in text format
!:mime firmware/srecord
# Tektronik HEX file format
0 regex \^/[0-9A-F]{8,}$ Tektronix HEX; binary data in text format
!:mime firmware/tek
# Tektronik Extended HEX file format
0 regex \^%[0-9A-F]{8,}$ Tektronix extended HEX; binary data in text format
!:mime firmware/xtek
......@@ -696,23 +696,6 @@
0 string \xD5\xBF\x98\x12\x01 Toshiba CD2
!:mime firmware/toshiba-cd2
# Intel HEX
0 regex \^:[A-F0-9]{8,}$ Intel HEX
!:mime firmware/intel-hex
# D-Link HAD
0x60 string \x46\x4C\x41\x53\x48\x5F\x30\x32 D-Link HAD
!:mime firmware/dlink-had
# Motorola S-Record
0 regex \^S[0-57-9][0-9A-F]{8,}$ Motorola S-Record; binary data in text format
!:mime firmware/srecord
# Tektronik HEX file format
0 regex \^/[0-9A-F]{8,}$ Tektronix HEX; binary data in text format
!:mime firmware/tek
# Tektronik Extended HEX file format
0 regex \^%[0-9A-F]{8,}$ Tektronix extended HEX; binary data in text format
!:mime firmware/xtek
[pytest]
addopts = --pep8 -v
pep8ignore =
addopts = --flake8 -v
flake8-ignore =
*.py E501
pytest
pytest-cov
pytest-pep8
pytest-flake8
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment