


import os

try:
						from .build_directory_md import good_file_paths
except ImportError:
						from build_directory_md import good_file_paths  # type: ignore

_UpperCAmelCase			:  List[str]     =list(good_file_paths())
assert filepaths, "good_file_paths() failed!"

_UpperCAmelCase			:  Union[str, Any]     =[file for file in filepaths if file != file.lower()]
if upper_files:
						print(f"""{len(upper_files)} files contain uppercase characters:""")
						print("""\n""".join(upper_files) + """\n""")

_UpperCAmelCase			:  int     =[file for file in filepaths if """ """ in file]
if space_files:
						print(f"""{len(space_files)} files contain space characters:""")
						print("""\n""".join(space_files) + """\n""")

_UpperCAmelCase			:  List[str]     =[file for file in filepaths if """-""" in file]
if hyphen_files:
						print(f"""{len(hyphen_files)} files contain hyphen characters:""")
						print("""\n""".join(hyphen_files) + """\n""")

_UpperCAmelCase			:  List[str]     =[file for file in filepaths if os.sep not in file]
if nodir_files:
						print(f"""{len(nodir_files)} files are not in a directory:""")
						print("""\n""".join(nodir_files) + """\n""")

_UpperCAmelCase			:  Union[str, Any]     =len(upper_files + space_files + hyphen_files + nodir_files)
if bad_files:
						import sys

						sys.exit(bad_files)



from __future__ import annotations



def 			lowerCAmelCase (		lowerCAmelCase_ ,   lowerCAmelCase_ ,   lowerCAmelCase_ ,   )-> tuple:
				if (electron_conc, hole_conc, intrinsic_conc).count(0 ) != 1:
								raise ValueError('''You cannot supply more or less than 2 values''' )
				elif electron_conc < 0:
								raise ValueError('''Electron concentration cannot be negative in a semiconductor''' )
				elif hole_conc < 0:
								raise ValueError('''Hole concentration cannot be negative in a semiconductor''' )
				elif intrinsic_conc < 0:
								raise ValueError(
								    '''Intrinsic concentration cannot be negative in a semiconductor''' )
				elif electron_conc == 0:
								return (
								    "electron_conc",
								    intrinsic_conc**2 / hole_conc,
								)
				elif hole_conc == 0:
								return (
								    "hole_conc",
								    intrinsic_conc**2 / electron_conc,
								)
				elif intrinsic_conc == 0:
								return (
								    "intrinsic_conc",
								    (electron_conc * hole_conc) ** 0.5,
								)
				else:
								return (-1, -1)


if __name__ == "__main__":
						import doctest

						doctest.testmod()