forked from shotgunsoftware/tk-photoshopcc
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Added the Hound badge to the README. * Ran python-modernize. * Added the pre-commit hook and black made changes. * Added the black badge, and Azure config. Co-authored-by: Jean-François Boismenu <[email protected]>
- Loading branch information
1 parent
c430e37
commit 95bc9fd
Showing
19 changed files
with
469 additions
and
505 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# Copyright (c) 2019 Shotgun Software Inc. | ||
# | ||
# CONFIDENTIAL AND PROPRIETARY | ||
# | ||
# This work is provided "AS IS" and subject to the Shotgun Pipeline Toolkit | ||
# Source Code License included in this distribution package. See LICENSE. | ||
# By accessing, using, copying or modifying this work you indicate your | ||
# agreement to the Shotgun Pipeline Toolkit Source Code License. All rights | ||
# not expressly granted therein are reserved by Shotgun Software Inc. | ||
|
||
# Styles the code properly | ||
# Exclude the UI files, as they are auto-generated. | ||
exclude: "ui\/.*py$" | ||
# List of super useful formatters. | ||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v2.4.0 | ||
hooks: | ||
# Ensures the code is syntaxically correct | ||
- id: check-ast | ||
language_version: python3 | ||
# Ensures a file name will resolve on all platform | ||
- id: check-case-conflict | ||
# Checks files with the execute bit set have shebangs | ||
- id: check-executables-have-shebangs | ||
# Ensure there's no incomplete merges | ||
- id: check-merge-conflict | ||
# Adds an empty line if missing at the end of a file. | ||
- id: end-of-file-fixer | ||
# Makes sure requirements.txt is properly formatted | ||
- id: requirements-txt-fixer | ||
# Removes trailing whitespaces. | ||
- id: trailing-whitespace | ||
# Leave black at the bottom so all touchups are done before it is run. | ||
- repo: https://github.com/ambv/black | ||
rev: 19.10b0 | ||
hooks: | ||
- id: black | ||
language_version: python3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# Copyright (c) 2019 Shotgun Software Inc. | ||
# | ||
# CONFIDENTIAL AND PROPRIETARY | ||
# | ||
# This work is provided "AS IS" and subject to the Shotgun Pipeline Toolkit | ||
# Source Code License included in this distribution package. See LICENSE. | ||
# By accessing, using, copying or modifying this work you indicate your | ||
# agreement to the Shotgun Pipeline Toolkit Source Code License. All rights | ||
# not expressly granted therein are reserved by Shotgun Software Inc. | ||
|
||
# Imports the shared Azure CI tools from the master branch of shotgunsoftware/tk-ci-tools | ||
resources: | ||
repositories: | ||
- repository: templates | ||
type: github | ||
name: shotgunsoftware/tk-ci-tools | ||
ref: refs/heads/master | ||
endpoint: shotgunsoftware | ||
|
||
# We want builds to trigger for 3 reasons: | ||
# - The master branch sees new commits | ||
# - Each PR should get rebuilt when commits are added to it. | ||
# - When we tag something | ||
trigger: | ||
branches: | ||
include: | ||
- master | ||
tags: | ||
include: | ||
- v* | ||
pr: | ||
branches: | ||
include: | ||
- "*" | ||
|
||
# This pulls in a variable group from Azure. Variables can be encrypted or not. | ||
variables: | ||
- group: deploy-secrets | ||
|
||
# Launch into the build pipeline. | ||
jobs: | ||
- template: build-pipeline.yml@templates | ||
parameters: | ||
skip_tests: true |
Oops, something went wrong.