We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 834134a + a0179e3 commit 2f2244cCopy full SHA for 2f2244c
copyleaks/__init__.py
@@ -0,0 +1,19 @@
1
+import sys
2
+if sys.stderr.isatty():
3
+ yellow = "\033[33m"
4
+ red = "\033[31m"
5
+ reset = "\033[0m"
6
+else:
7
+ yellow = ""
8
+ red = ""
9
+ reset = ""
10
+notice = (
11
+ f"{yellow}"
12
+ "================================================================\n"
13
+ f"{red} DEPRECATION NOTICE: copyleaks\n"
14
+ f"{yellow}================================================================\n"
15
+ "AI Code Detection will be discontinued on August 29, 2025.\n"
16
+ "Please remove AI code detection integrations before the sunset date.\n"
17
+ f"================================================================{reset}"
18
+)
19
+print(notice, file=sys.stderr)
0 commit comments