__pycache__/
*.pyc
*.egg-info/
build/
dist/
.venv/
venv/
.pytest_cache/
downloads/
relay_files/
inventory.csv
# Written by release.yml, from CHANGELOG.md, to be the GitHub release body.
RELEASE_NOTES.md

# SCL / IED capability files (vendor-supplied, large, not redistributable)
*.icd
*.ICD
*.cid
*.CID
*.scd
*.SCD
*.iid
*.IID
*.sed
*.SED
fixtures/ICD/

# The round-trip corpus is tracked, by name and never by wildcard.
#
# The `*.scd` rule above is right for every SCD except these four: a vendor
# file dropped in this tree is somebody's substation and must not be
# committed by accident. The three real ones below were anonymised by
# `tools/anonymise_scd.py` before they were added -- substation, utility,
# Windows accounts, machine names and addressing all substituted, IED names
# deliberately kept. The fourth is hand-written and carries no identity.
#
# Named one by one on purpose. A negation like `!tests/fixtures/scl/*.scd`
# would re-include ANY .scd dropped in that directory, which is exactly how
# an un-anonymised file reached a sibling repository once.
!tests/fixtures/scl/sel.scd
!tests/fixtures/scl/mixed.scd
!tests/fixtures/scl/siemens.scd
!tests/fixtures/scl/namespaces.scd

# The substitution mapping names what was substituted -- the substation, the
# utility, the engineers' accounts. Tracking it would undo the anonymisation.
tools/*.local.json

# IEC reference material -- the schema and namespace packages themselves.
#
# `docs/IEC61850 files/` holds IEC's own code-component distributions: the SCL
# XSD sets (2003, 2007B, 2007B4, 2007C5), the 7-2/7-3/7-4 NSD packages and
# IEC's note on handling code components. They are IEC copyright, the terms
# are at www.iec.ch/CCv1, and this repository is public and ships to PyPI.
#
# Excluded as a directory rather than by extension, because the useful ones
# arrive as .zip and a future .xsd dropped beside them must not be committed
# either. What may be DERIVED from them and shipped -- the content-model
# ordering table -- is a separate question, recorded as Q17 in the plan.
docs/IEC61850 files/
