Skip to content
Snippets Groups Projects
pyproject.toml 1.17 KiB
Newer Older
  • Learn to ignore specific revisions
  • [tool.towncrier]
        package = "synapse"
    
    Amber Brown's avatar
    Amber Brown committed
        filename = "CHANGES.md"
    
        directory = "changelog.d"
    
        issue_format = "[\\#{issue}](https://github.com/matrix-org/synapse/issues/{issue})"
    
    Amber Brown's avatar
    Amber Brown committed
    
        [[tool.towncrier.type]]
            directory = "feature"
            name = "Features"
            showcontent = true
    
        [[tool.towncrier.type]]
            directory = "bugfix"
            name = "Bugfixes"
            showcontent = true
    
    
        [[tool.towncrier.type]]
            directory = "docker"
            name = "Updates to the Docker image"
            showcontent = true
    
    
    Amber Brown's avatar
    Amber Brown committed
        [[tool.towncrier.type]]
            directory = "doc"
            name = "Improved Documentation"
            showcontent = true
    
        [[tool.towncrier.type]]
            directory = "removal"
            name = "Deprecations and Removals"
            showcontent = true
    
        [[tool.towncrier.type]]
            directory = "misc"
            name = "Internal Changes"
            showcontent = true
    
    Amber Brown's avatar
    Amber Brown committed
    
    [tool.black]
    target-version = ['py34']
    exclude = '''
    
    (
      /(
          \.eggs         # exclude a few common directories in the
        | \.git          # root of the project
        | \.tox
        | \.venv
    
    Amber Brown's avatar
    Amber Brown committed
        | _build
        | _trial_temp.*
        | build
        | dist
        | debian
      )/
    )
    '''