Skip to content

Commit a00a0d1

Browse files
Merge pull request #3 from codePerfectPlus/patch-24
Sitecloner class fixed
2 parents 710f6c5 + 5f7b7a6 commit a00a0d1

File tree

16 files changed

+266
-25
lines changed

16 files changed

+266
-25
lines changed

.github/FUNDING.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
custom: ["https://www.buymeacoffee.com/codeperfectplus"]
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
title: ''
5+
labels: bug
6+
assignees: ''
7+
8+
---
9+
10+
**Describe the bug**
11+
A clear and concise description of what the bug is.
12+
13+
**Expected behavior**
14+
A clear and concise description of what you expected to happen.
15+
16+
**Screenshots**
17+
If applicable, add screenshots to help explain your problem.
18+
19+
**Desktop (please complete the following information):**
20+
- OS: [e.g. iOS]
21+
- Python Version [e.g. 3.7.4]
22+
23+
24+
**Additional context**
25+
Add any other context about the problem here.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
title: ''
5+
labels: enhancement
6+
assignees: ''
7+
8+
---
9+
**Describe the solution you'd like**
10+
A clear and concise description of what you want to happen.
11+
12+
13+
**Additional context**
14+
Add any other context or screenshots about the feature request here.
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
#### Issue description
2+
3+
4+
5+
#### Steps to reproduce the issue
6+
7+
1.
8+
2.
9+
3.
10+
11+
12+
#### What's the expected result?
13+
14+
-
15+
16+
17+
#### What's the actual result?
18+
19+
-
20+
21+
22+
#### Additional details / screenshot
23+
24+
- ![Screenshot]()
25+
-
26+
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
name: Update Documentation
3+
about: Describe this issue template's purpose here.
4+
title: ''
5+
labels: documentation, enhancement
6+
assignees: ''
7+
8+
---
9+
10+
**Short introduction what you want to change in README.md **
11+
example:- code change, outdated Readme

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Pull Request Template
2+
3+
**What have you Changed**
4+
5+
what you changed in the codebase.write here
6+
7+
8+
### Issue no.(must) - #
9+
10+
### Self Check(Tick After Making pull Request)
11+
12+
- [ ] This issue was assigned to me.
13+
- [x] One Change in one Pull Request
14+
- [x] My file is in proper folder
15+
- [x] I am following clean code and Documentation and my code is well linted with flake8.
16+
- [ ] I have added README.md and requirements.txt with my script
17+
18+
If issue was not assigned to you Please don't make a PR. It will marked as invalid.
19+
20+
Join Us on Discord:- https://discord.gg/JfbK3bS

.github/workflows/auto_assign.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# A list of reviewers to be added to PRs (GitHub user name)
2+
reviewers:
3+
- codePerfectPlus
4+
- drakeEntity
5+
- aayushi-droid
6+
7+
# A number of reviewers added to the PR
8+
# Set 0 to add all the reviewers (default: 0)
9+
numberOfReviewers: 2
10+
11+
# A list of assignees, overrides reviewers if set
12+
assignees:
13+
- codePerfectPlus
14+
15+
# A number of assignees to add to the PRs
16+
# Set to 0 to add all of the assignees.
17+
# Uses numberOfReviewers if unset.
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# GitHub Action that uses close-issue auto-close empty issues after they are opened.
2+
# If the issue body text is empty the Action auto-closes it and sends a notification.
3+
# Otherwise if the issue body is not empty, it does nothing and the issue remains open.
4+
# https://github.com/marketplace/actions/close-issue
5+
6+
name: auto_close_empty_issues
7+
on:
8+
issues:
9+
types: [opened]
10+
jobs:
11+
check-issue-body-not-empty:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- if: github.event.issue.body == 0
15+
name: Close Issue
16+
uses: peter-evans/close-issue@v1
17+
with:
18+
comment: |
19+
Issue body must contain content.
20+
Auto-closing this issue.
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
# For most projects, this workflow file will not need changing; you simply need
2+
# to commit it to your repository.
3+
#
4+
# You may wish to alter this file to override the set of languages analyzed,
5+
# or to provide custom queries or build logic.
6+
name: "CodeQL"
7+
8+
on:
9+
push:
10+
branches: [main]
11+
pull_request:
12+
# The branches below must be a subset of the branches above
13+
branches: [main]
14+
schedule:
15+
- cron: '0 9 * * 5'
16+
17+
jobs:
18+
analyze:
19+
name: Analyze
20+
runs-on: ubuntu-latest
21+
22+
strategy:
23+
fail-fast: false
24+
matrix:
25+
# Override automatic language detection by changing the below list
26+
# Supported options are ['csharp', 'cpp', 'go', 'java', 'javascript', 'python']
27+
language: ['python']
28+
# Learn more...
29+
# https://docs.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#overriding-automatic-language-detection
30+
31+
steps:
32+
- name: Checkout repository
33+
uses: actions/checkout@v2
34+
35+
# Initializes the CodeQL tools for scanning.
36+
- name: Initialize CodeQL
37+
uses: github/codeql-action/init@v1
38+
with:
39+
languages: ${{ matrix.language }}
40+
# If you wish to specify custom queries, you can do so here or in a config file.
41+
# By default, queries listed here will override any specified in a config file.
42+
# Prefix the list here with "+" to use these queries and those in the config file.
43+
# queries: ./path/to/local/query, your-org/your-repo/queries@main
44+
45+
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
46+
# If this step fails, then you should remove it and run the build manually (see below)
47+
- name: Autobuild
48+
uses: github/codeql-action/autobuild@v1
49+
50+
# ℹ️ Command-line programs to run using the OS shell.
51+
# 📚 https://git.io/JvXDl
52+
53+
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
54+
# and modify them (or add more) to build your code if your project
55+
# uses a compiled language
56+
57+
#- run: |
58+
# make bootstrap
59+
# make release
60+
61+
- name: Perform CodeQL Analysis
62+
uses: github/codeql-action/analyze@v1

.github/workflows/publish.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Publish package to PyPI
2+
on: push
3+
jobs:
4+
build-and-publish:
5+
name: Build and Publish to PyPI
6+
runs-on: ubuntu-latest
7+
if: startsWith(github.ref, 'refs/tags')
8+
steps:
9+
- uses: actions/checkout@v2
10+
- name: Use Python 3.8
11+
uses: actions/setup-python@v2
12+
with:
13+
python-version: 3.8
14+
- name: Run setup
15+
run: >-
16+
python setup.py sdist
17+
- name: Publish distribution to PyPI
18+
uses: pypa/gh-action-pypi-publish@master
19+
with:
20+
user: __token__
21+
password: ${{ secrets.pypi_password }}

0 commit comments

Comments
 (0)