From 40fe1402c3a65886a88f6d0c1a0797c8ac733752 Mon Sep 17 00:00:00 2001
From: h1dden-da3m0n <33120068+h1dden-da3m0n@users.noreply.github.com>
Date: Tue, 1 Jun 2021 21:39:51 +0200
Subject: [PATCH] move build.py back to root

---
 .github/workflows/build.yaml   | 2 +-
 .github/workflows/publish.yaml | 2 +-
 .build/build.py => build.py    | 0
 tox.ini                        | 6 ++++--
 4 files changed, 6 insertions(+), 4 deletions(-)
 rename .build/build.py => build.py (100%)

diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
index 66f2e3d7..c0df5959 100644
--- a/.github/workflows/build.yaml
+++ b/.github/workflows/build.yaml
@@ -28,7 +28,7 @@ jobs:
           python -m pip install pyyaml
 
       - name: Create ${{ matrix.py_version }} addon.xml
-        run: python .build/build.py --version ${{ matrix.py_version }} --source . --target .
+        run: python build.py --version ${{ matrix.py_version }}
 
       - name: Publish Build Artifact
         uses: actions/upload-artifact@v2
diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml
index df5c2b38..8c18a0df 100644
--- a/.github/workflows/publish.yaml
+++ b/.github/workflows/publish.yaml
@@ -31,7 +31,7 @@ jobs:
           python -m pip install pyyaml
 
       - name: Create ${{ matrix.py_version }} addon.xml
-        run: python .build/build.py --version ${{ matrix.py_version }} --source . --target .
+        run: python build.py --version ${{ matrix.py_version }}
 
       - name: Publish Build Artifact
         uses: actions/upload-artifact@v2
diff --git a/.build/build.py b/build.py
similarity index 100%
rename from .build/build.py
rename to build.py
diff --git a/tox.ini b/tox.ini
index 2001112e..a8463728 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,7 +1,7 @@
 [flake8]
 max-line-length = 9999
 import-order-style = pep8
-exclude = .git,.vscode,.build,libraries
+exclude = .git,.vscode,libraries,build.py
 extend-ignore =
     I202
 per-file-ignores =
@@ -19,6 +19,8 @@ source =
     context_play.py
     default.py
     service.py
-omit = tests/*
+omit =
+    tests/*
+    build.py
 branch = True
 command_line = -m pytest --junitxml=test.xml